:: Re: [DNG] Coreutils 8.25 ls output
Etusivu
Poista viesti
Vastaa
Lähettäjä: Emiliano Marini
Päiväys:  
Vastaanottaja: Arnt Gulbrandsen
Kopio: dng
Aihe: Re: [DNG] Coreutils 8.25 ls output
For example, this willl break scripts parsig ls output.

On Tue, Feb 16, 2016 at 12:52 PM, Arnt Gulbrandsen <arnt@???
> wrote:


> 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
>
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>