Surf 11 » Inverted grep results

Finding the best waves on the web.

If you want to your grep results to only show lines not matching the pattern use the -v switch. You can also use --invert-match

fgrep -v file.log

The above prints lines from file.log that do not contain

Related Entries

Email: (optional, not displayed on site)
   Subscribe to this thread
Comments: (html will be escaped)

Archives   Tags   Contact