User Tools

Site Tools


sed:insert:insert_a_blank_line_above_every_line_which_matches_a_string

SED - Insert - Insert a blank line above every line which matches a string

sed '/apple/{x;p;x;}' filename
sed/insert/insert_a_blank_line_above_every_line_which_matches_a_string.txt · Last modified: 2020/08/18 00:47 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki