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


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Philip Ganchev <phil.ganchev <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: ls appends an indicator even if one is already present
	(--indicator-style=classify)
Date: Fri, 30 Sep 2011 13:42:09 +0300
"Ls --indicator-style=classify" always appends a slash to the names of
directories. For example:

ls -d */

dir1// dir2//

ls -d */////

dir1////// dir2//////

Ls should check if an indicator is already present after the end of
the file name, and append it only if it is not.




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.