Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

HEREDOC script into var

export A=`cat <<END
sdfsdf
sdfsdf
sdfsfds
END
` ; echo $A
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #HEREDOC #script #var
ADD COMMENT
Topic
Name
2+6 =