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