Try 'man strings'. Probably it's exact command that you looking for. <br><br><div class="gmail_quote">On Fri, Dec 11, 2009 at 10:44 AM, Todd Walton <span dir="ltr"><<a href="mailto:tdwalton@gmail.com">tdwalton@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Can anyone suggest a bash one liner to find all text files that have a<br>
certain string in them and print the names?<br>
<br>
I've been playing around with 'for-do-done', but I'm wondering now if<br>
maybe 'find' might be better.<br>
<font color="#888888"><br>
--<br>
Todd<br>
_______________________________________________<br>
Cialug mailing list<br>
<a href="mailto:Cialug@cialug.org">Cialug@cialug.org</a><br>
<a href="http://cialug.org/mailman/listinfo/cialug" target="_blank">http://cialug.org/mailman/listinfo/cialug</a><br>
</font></blockquote></div><br>