sed:print:print_only_lines_which_do_not_match_regexp
This is an old revision of the document!
SED - Print - Print only lines which do NOT match regexp
Emulates “grep -v”.
sed -n '/regexp/!p' # method 1, corresponds to above sed '/regexp/d' # method 2, simpler syntax
sed/print/print_only_lines_which_do_not_match_regexp.1597581631.txt.gz · Last modified: 2020/08/16 12:40 by 192.168.1.1