<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Would "grep -v" accomplish what you are
trying to do?<br>
<br>
"grep -v yahoo <filename>"<br>
<br>
Allen B.<br>
<pre class="moz-signature" cols="72">Allen Beddingfield
Systems Engineer
The University of Alabama</pre>
On 2/10/15 1:16 PM, Justin Goldberg wrote:<br>
</div>
<blockquote
cite="mid:CAAU2BpbkVD1ueQFX+ehK3fo3bCbpJ89b2UZbcYLkSYM9o2DP+g@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<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
"don't show ones that contain <a moz-do-not-send="true"
href="http://google.com">google.com</a> or ones that <a
moz-do-not-send="true" href="http://yahoo.com">yahoo.com</a>"
for example.</p>
<p dir="ltr">I'm guessing that sed or awk would fit this purpose.</p>
<p dir="ltr">I looked on the web but didn'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>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Ale mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ale@ale.org">Ale@ale.org</a>
<a class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a>
See JOBS, ANNOUNCE and SCHOOLS lists at
<a class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a>
</pre>
</blockquote>
<br>
</body>
</html>