GNU bug report logs - #17878
Possible bug in GNU ls with -R

Previous Next

Package: coreutils;

Reported by: fuz <at> fuz.su

Date: Sun, 29 Jun 2014 18:06:02 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 17878 <at> debbugs.gnu.org, eblake <at> redhat.com, fuz <at> fuz.su
Subject: bug#17878: Possible bug in GNU ls with -R
Date: Mon, 30 Jun 2014 09:22:32 -0700
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.




This bug report was last modified 11 years and 16 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.