[NTLUG:Discuss] scratching head
Steve Baker
sjbaker1 at airmail.net
Thu Feb 27 18:01:55 CST 2003
Carl Haddick wrote:
> In other words, type all lines in all text files that contain at least
> three arbitrary characters, skipping lines that are 0, 1, or 2
> characters in length.
>
> Did I get it right? Do I win anything?
That's certainly what it does...the question is why? - and why is it in
someones .sig ?
>> find . -type f | xargs file | grep -i text | cut -f1 -d: | xargs grep "..."
...and if that's what it does, it's got a bug in it. Suppose I have file called:
texture_map.png
...well, let's just say it's not going to be a pretty sight!
---------------------------- Steve Baker -------------------------
HomeEmail: <sjbaker1 at airmail.net> WorkEmail: <sjbaker at link.com>
HomePage : http://www.sjbaker.org
Projects : http://plib.sf.net http://tuxaqfh.sf.net
http://tuxkart.sf.net http://prettypoly.sf.net
-----BEGIN GEEK CODE BLOCK-----
GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++
-----END GEEK CODE BLOCK-----
More information about the Discuss
mailing list