Edward J. Huff (edward.huff at acm.org) wrote:

> > > find ~/.mozilla/ -type f -print0 | xargs -0 grep -l Freenet | grep Cache
> > > | xargs cat 

> Don't try to teach your grandma to suck eggs... :-)  Look closely
> at the "-print0 | xargs -0" part of that pipeline.  The only
> buggy thing about it is xargs cat fails in the presence of 
> filenames containing newlines.

Ah, I read it wrong.  But it still won't do what I'd like it to
do, which is to find cached files which *came from* freenetproject.org.
What it does it find files which, for whatever reason, happen to have
the string "Freenet" embedded in them.  In my case this means it
finds a handful of Freesites.

-- 
Greg Wooledge                  |   "Truth belongs to everybody."
greg at wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20030510/9297c9d2/attachment.pgp>

Reply via email to