sed
Delete a matching line
sed '/pattern/d' filename > newfile
Or edit in place (GNU)
sed -i '/pattern/d' filename
sed.txt · Last modified: 2023/08/18 18:15 by 127.0.0.1
sed '/pattern/d' filename > newfile
Or edit in place (GNU)
sed -i '/pattern/d' filename