:: Re: [DNG] Coreutils 8.25 ls output
Góra strony
Delete this message
Reply to this message
Autor: Arnt Gulbrandsen
Data:  
Dla: dng
Temat: Re: [DNG] Coreutils 8.25 ls output
Emiliano Marini writes:
> Great Scott! Introducing unwanted changes in packages
> containing the word "core", congratulations!
>
> This will break up 99% of the scripts out there...


Why?

This won't break common code such as

   for a in *.xml; do
      ...


What it breaks is rubbish such as

   for a in $(ls *.xml); do
      ...


and arguably it doesn't even break that. It behaves differently for some
files (e.g. one named "foo.xml foo.xml", either 13 or 15 characters) but
off the cuff I can't think of any intentions for such code that the old
behaviour allows and the new behaviour doesn't.

Arnt