GNU bug report logs - #9637
ls appends an indicator even if one is already present (--indicator-style=classify)

Previous Next

Package: coreutils;

Reported by: Philip Ganchev <phil.ganchev <at> gmail.com>

Date: Fri, 30 Sep 2011 16:11: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: 9637 <at> debbugs.gnu.org, eblake <at> redhat.com
Subject: bug#9637: ls appends an indicator even if one is already present (--indicator-style=classify)
Date: Fri, 30 Sep 2011 12:44:30 -0700
On 09/30/11 10:35, Eric Blake wrote:

> On 09/30/2011 04:42 AM, Philip Ganchev wrote:
>> "Ls --indicator-style=classify" always appends a slash to the names of
>> directories. For example:

> Correct, and this behavior is required by POSIX:

But POSIX says nothing about --indicator-style=classify.

It may be that we'd like to change --indicator-style=classify to avoid appending
redundant slashes, which are indeed annoying, while keeping -F the way it is,
to stay compatible with POSIX.  Or perhaps we could add a new --indicator-style
option that would avoid appending redundant slashes.  Surely either one of these
would be a valid wish-list request?




This bug report was last modified 13 years and 294 days ago.

Previous Next


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