<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">grep -v &lt;exclude pattern&gt;<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 10, 2015 at 2:16 PM, Justin Goldberg <span dir="ltr">&lt;<a href="mailto:justgold79@gmail.com" target="_blank">justgold79@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I am trying to parse a log file and exclude the lines that contain any one of a few different strings, for example &quot;don&#39;t show ones that contain <a href="http://google.com" target="_blank">google.com</a> or ones that <a href="http://yahoo.com" target="_blank">yahoo.com</a>&quot; for example.</p>
<p dir="ltr">I&#39;m guessing that sed or awk would fit this purpose.</p>
<p dir="ltr">I looked on the web but didn&#39;t find any examples that made sense to this Linux newbie.</p>
<p dir="ltr">Any replies or pointers will be greatly appreciated!</p>
<br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Pete Hardie<br>--------<br>Better Living Through Bitmaps</div>
</div>