[arch-general] BASH no longer does 'for i in $(ls); do ls $i; done'??
Sergey Manucharian
ingeniware at gmail.com
Tue May 18 16:47:46 EDT 2010
Excerpts from Linas's message of Tue, 18 May 2010 22:31 +0200:
> David C. Rankin wrote:
> > Guys,
> >
> > I'm usually quite good at one-liners, but my simple ones no
> > longer work in Arch. Same cli works fine in suse. What have I
> > messed up? To wit:
> >
> >
> > What could keep the simple cli from working on Arch? I know
> > this stuff worked before updates this morning... What should I look
> > at?
> Bash was updated from 4.1.5(2) to 4.1.7(2).
> I can't reproduce it, though.
I cannot reproduce it either and suspect that your "ls" under $() is
not the real ls, but an alias. I've played with some, and they indeed
produce bad output.
Cheers,
Sergey
More information about the arch-general
mailing list