I'm trying to clean a big list of log files from undesired lines and to only leave those who contains some strings. For example:
sunday morning NOPE again
may it be DENSE in such a place
nothing here really
In such a case only leave lines that contain NOPE or DENSE.
I've tried using sed from examples, but but didn't manage to add an or for a list of strings, such as:
sed -ni.bak '/\NOPE/p' file