Re: [PATCH 1/2] kill_everything: Reduce number of -f tests

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



Am 09.09.2010 18:48, schrieb Victor Lowther:
>> *.ext` etc. would result in ls being passed an argument '*.ext' in the 
>> event that *.ext doesn't match anything. With nullglob set, no argument
>>
>> gets passed and you end up with just `ls` which is likely to cause 
>> subtle bugs.
> 
> Sounds like another reason to never parse the output of ls in a shell script ( not that I needed more).

Agreed! If such a thing is still in the scripts, it should be replaced
(I think Victor did that in a few places).

Attachment: signature.asc
Description: OpenPGP digital signature


[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