Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sed insert multiple lines after match

sed '/cdef/r add.txt' input.txt
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sed #insert #multiple #lines #match
ADD COMMENT
Topic
Name
7+1 =