ok a silly question off topic....

Tim Waugh twaugh at redhat.com
Thu Oct 2 20:44:25 UTC 2003


On Thu, Oct 02, 2003 at 01:04:52PM -0500, stephan schutter wrote:

> I fidured I could... but why would this not work for me?
> 
> ls -lh |grep drw | \ while read i; do \ (tar -zcvf $i.tgz $i)

You forgot to put the 'while read ...' bit in a ( subshell ).

Tim.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/test/attachments/20031002/e12ce234/attachment.bin 


More information about the test mailing list