Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sed replace single line with multi line

echo ${DATA} > temp.txt    
sed -i -e "/_data_/r temp.txt" -e "//d" mail.tpl
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sed #replace #single #line #multi #line
ADD COMMENT
Topic
Name
2+1 =