> I have a file like this > > aaaaaaaaaaaaa > bbbbbbbbbbbbb > aaaaaaaaaaaaa > bbbbbbbbbbbbb > > How I can filter this file, so that all the lines containing bbbbbbbbbbbbb, were >deleted. > Is there any way to do it ? > Thanks in advance. >
There are *lots* of ways to do it. Here are just three examples: grep -v bbbbbbbbbbbbb filename sed '/bbbbbbbbbbbbb/d' filename awk '/bbbbbbbbbbbbb/ {next} {print}' filename -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list