bug-coreutils
[Top][All Lists]
Advanced

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

bug#17878: Possible bug in GNU ls with -R


From: Paul Eggert
Subject: bug#17878: Possible bug in GNU ls with -R
Date: Mon, 30 Jun 2014 09:22:32 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Eric Blake wrote:
All other ls implementations behave the same.

Unfortunately that's not the case, as AIX 7.1 behaves the way the original requestor asked for, as does 7th Edition Unix. Furthermore, the POSIX spec's EXAMPLES section <http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ls.html#tag_20_73_17> (admittedly informative) agrees with AIX 7.1 and 7th Edition Unix. My guess is that POSIX intended to specify the traditional behavior. However, so many implementations have gotten it wrong that one could easily argue the wording is unclear, and that the POSIX wording should be fixed to make it clear that both the traditional and the common behavior are allowed. Another possibility is that we could change GNU ls to behave like traditional ls.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]