finding tensai's brilliance

Corey Edwards tensai at
Wed Jul 27 11:28:44 MDT 2005

On Wed, 2005-07-27 at 11:07 -0600, Stuart Jansen wrote:
> It's an age old problem, writing shell loops that deal well with
> filenames containing spaces. Sometime within the last few months, tensai
> mentioned a brilliant method using read in a bash loop. I thought it was
> here on the Plug list, but I guess it was on #utah. I'm sure I'll make
> the mistake again, so I'm archiving the knowledge here for everyone to
> enjoy. (And if you didn't notice, I also threw in a bunch of keywords
> for good luck.)
> Without further delay, I give you the evidence of tensai's brilliance:
> find /tmp/ -type f | while read I; do echo $I; done

Must...not...correct...error in my favor...

Oh, I can't do it. Hans found the solution, not me.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : 

More information about the PLUG mailing list