Re: BASH no longer does 'for i in $(ls); do ls $i; done'??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux