1611 shaares
17 private links
17 private links
1 result
tagged
pattern
To remove the line and print the output to standard out:
sed '/pattern to match/d' ./infile
To directly modify the file (with GNU sed):
sed -i '/pattern to match/d' ./infile