Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

shell script variable multiple lines

read -r -d '' VAR <<- EOM
    This is line 1.
    This is line 2.
    Line 3.
EOM
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #shell #script #variable #multiple #lines
ADD COMMENT
Topic
Name
3+9 =