[ale] Reverse of the 'cut' program

Pete Hardie pete.hardie at gmail.com
Tue Feb 10 14:22:10 EST 2015


grep -v <exclude pattern>

On Tue, Feb 10, 2015 at 2:16 PM, Justin Goldberg <justgold79 at gmail.com>
wrote:

> I am trying to parse a log file and exclude the lines that contain any one
> of a few different strings, for example "don't show ones that contain
> google.com or ones that yahoo.com" for example.
>
> I'm guessing that sed or awk would fit this purpose.
>
> I looked on the web but didn't find any examples that made sense to this
> Linux newbie.
>
> Any replies or pointers will be greatly appreciated!
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>


-- 
Pete Hardie
--------
Better Living Through Bitmaps
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20150210/b856f32a/attachment.html>


More information about the Ale mailing list