Sam
0
Q:

sed

Use d option at the end of sed replace definition for deleting line of matches.
sed -i "" "s/matching_pattern/d" file.txt
0
sed 's/foo/bar/'
http://sed.sourceforge.net/sed1line.txt
0

New to Communities?

Join the community