How about printing the line numbers of those lines matching a regex? I wanted to do that the other day, since I was searching for control characters in a file that I couldn't find as easily with vi.
I am being sponsored by Syntress! They bought me an amazing dedicated server to run catonmat on. If you're looking web services, I highly recommend the Syntress guys!
How about printing the line numbers of those lines matching a regex? I wanted to do that the other day, since I was searching for control characters in a file that I couldn't find as easily with vi.
Reply To This Comment