GNU bug report logs - #51507
ls incorrectly displays single quotes

Previous Next

Package: coreutils;

Reported by: Joel Hansen <thejoelhansen <at> gmail.com>

Date: Sat, 30 Oct 2021 10:18:03 UTC

Severity: normal

Tags: wontfix

Merged with 42766

To reply to this bug, email your comments to 51507 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#51507; Package coreutils. (Sat, 30 Oct 2021 10:18:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Joel Hansen <thejoelhansen <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sat, 30 Oct 2021 10:18:03 GMT) Full text and rfc822 format available.

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

From: Joel Hansen <thejoelhansen <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: ls incorrectly displays single quotes
Date: Fri, 29 Oct 2021 13:32:20 -0700
[Message part 1 (text/plain, inline)]
ls is incorrectly displaying single quotes around folders with spaces in
them. This is confusing and unhelpful.

A temporary fix is to use update my ls alias with -N, on every machine I
use, everywhere.
[Message part 2 (text/html, inline)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#51507; Package coreutils. (Sun, 31 Oct 2021 00:03:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Joel Hansen <thejoelhansen <at> gmail.com>
Cc: 51507 <at> debbugs.gnu.org
Subject: Re: bug#51507: ls incorrectly displays single quotes
Date: Sat, 30 Oct 2021 17:01:56 -0700
On 10/29/21 13:32, Joel Hansen wrote:
> ls is incorrectly displaying single quotes around folders with spaces in
> them. This is confusing and unhelpful.

Opinions evidently differ on that point. That being said, here's an 
example where the quotes help and where your suggestion of using -N 
everywhere would introduce confusion.

$ ls -lN
total 0
lrwxrwxrwx 1 eggert eggert 6 Oct 30 16:55 c -> a -> b
lrwxrwxrwx 1 eggert eggert 1 Oct 30 16:56 c -> a -> b
$ ls -l
total 0
lrwxrwxrwx 1 eggert eggert 6 Oct 30 16:55  c -> 'a -> b'
lrwxrwxrwx 1 eggert eggert 1 Oct 30 16:56 'c -> a' -> b




Merged 42766 51507. Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Sun, 31 Oct 2021 00:04:01 GMT) Full text and rfc822 format available.

Added tag(s) wontfix. Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Fri, 28 Jan 2022 01:59:01 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 193 days ago.

Previous Next


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