something ##matching line 1 ##matching line 2 ###matching line 3 stuff that won't match
What I want to do is use grep or some similar utility so I can grab all lines that start with ##, but without the pound signs. My output would be:
matching line 1 matching line 2 #matching line 3
I know I want something like the inverse of the -o option, i.e. printing out the part of each matching line that didn't match. Does anyone know how to do this in any way?


Sign In
Create Account

Back to top










