GNU bug report logs - #30963
ls -fA -> still . and ..

Previous Next

Package: coreutils;

Reported by: Karl Berry <karl <at> freefriends.org>

Date: Tue, 27 Mar 2018 17:28:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 30963-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Karl Berry <karl <at> freefriends.org>, 30963-done <at> debbugs.gnu.org
Subject: Re: bug#30963: ls -fA -> still . and ..
Date: Tue, 27 Mar 2018 15:06:19 -0700
[Message part 1 (text/plain, inline)]
On 03/27/2018 10:27 AM, Karl Berry wrote:
> ls -aA also shows . and ..; maybe it shouldn't?

You're right, it shouldn't. This was a bug I introduced in 2004 and I 
think you're the first to report it (!). In my defense, it wasn't 
officially a bug until POSIX.1-2008 came out and specified that -a and 
-A should override each other. Anyway, thanks. I installed the attached 
patch.

[0001-ls-A-now-overrides-a.patch (text/x-patch, attachment)]

This bug report was last modified 7 years and 61 days ago.

Previous Next


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