Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sed add a line after a match

sed -i '/pettern to match/a line_to_add_after_the_line_matched' file
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sed #add #line #match
ADD COMMENT
Topic
Name
5+8 =