Bennett Todd bet at
Sun Jul 11 18:41:21 PDT 2004

2004-07-11T17:02:02 Ian Molton:
> for i in file\ 1 file\ 2 ; do <foo> ; done

As others said, quoting. You quoted the args into the for loop, now
you need to quote 'em in the body where you use 'em.

for i in file\ 1 file\ 2; do mv "$i" `echo $i|tr -d ' '`; done

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the lfs-chat mailing list