Delete lines containing the pattern and the line before – unix.stackexchange.com

I'd like to delete two lines in a file, containing pattern aaa bbb ccc. I have used the following expression, which deletes the line containing pattern aaa bbb ccc and the line before. $ sed -n ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Delete lines containing the pattern and the line before – unix.stackexchange.com"