Francesco Talamona schrieb: > On Saturday 31 December 2005 22:04, Francesco Talamona wrote: >> $ for f in $"`ls *.jpg`"; do echo $f; done >> foo bar.jpg > > Little typo, I made an hybrid :-) > > [EMAIL PROTECTED]:~]$ for f in "$(ls *.jpg)"; do echo $f; done > foo bar.jpg > [EMAIL PROTECTED]:~]$ for f in "`ls *.jpg`"; do echo $f; done > foo bar.jpg
Still wrong. Still just one line of output. Cause of error: The use of " in the "for" loop. Further: No need to use ls. Alexander Skwar -- gentoo-user@gentoo.org mailing list