How to grep everything BUT the match AND the previous line

Subscribers:
4,130
Published on ● Video Link: https://www.youtube.com/watch?v=tNhq9COwqbo



Category:
Guide
Duration: 6:15
0 views
0


How to grep everything BUT the match AND the previous line
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(unix.stackexchange.com/users/531949/peter-petigru)Peter Petigru |
(unix.stackexchange.com/users/116858/kusalananda)Kusalananda |
(unix.stackexchange.com/users/133219/ed-morton)Ed Morton |
(unix.stackexchange.com/users/414186/edgar-magallon)Edgar Magallon |
(unix.stackexchange.com/users/189744/jol)JoL |
(unix.stackexchange.com/users/22565/st%c3%a9phane-chazelas)Stéphane Chazelas |
(unix.stackexchange.com/users/227738/jubilatious1)jubilatious1 |
(unix.stackexchange.com/users/544162/vik)vik |
A special thanks goes out to the (https://unix.stackexchange.com/questions/720025/how-to-grep-everything-but-the-match-and-the-previous-line)Stackexchange community |

I wish you all a wonderful day! Stay safe :)







Tags:
shell-script
grep
text-processing