[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Mon Mar 14 17:20:39 2005 -->
- <!--x-from-r13: wonyqjva ng nagvabqr.arg (Xnzrf Pnyqjva) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] need a simple shell script -->
- <li><em>date</em>: Mon Mar 14 17:20:39 2005</li>
- <li><em>from</em>: jbaldwin at antinode.net (James Baldwin)</li>
- <li><em>in-reply-to</em>: <<a href="msg00259.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00259.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] need a simple shell script</li>
> 1.? find *.html files (recurse) in a particular folder. pipe it to:
> 2.? grep -i 'verified'?? pipe it to:
> 3.? grep 04
> 4.? Print the path and filename of the file which meets criteria 1,2,3.
for i in `find <directory> -name \*.html \;`; do grep -i 'verified' $i
&& grep 04 $i && echo $i; done
---
James Baldwin
hkp://pgp.mit.edu/jbaldwin at antinode.net
"Syntatic sugar causes cancer of the semicolon."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00263" href="msg00263.html">[ale] need a simple shell script</a></strong>
<ul><li><em>From:</em> jbaldwin at antinode.net (James Baldwin)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00259" href="msg00259.html">[ale] need a simple shell script</a></strong>
<ul><li><em>From:</em> John.Armsby at motorola.com (Armsby John-G16665)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00261.html">[ale] need a simple shell script</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00263.html">[ale] need a simple shell script</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00260.html">[ale] need a simple shell script</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00263.html">[ale] need a simple shell script</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00262"><strong>Date</strong></a></li>
<li><a href="threads.html#00262"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>