GNU bug report logs - #31055
doc: ls: mention -r/--reverse does not work for -U/-f

Previous Next

Package: coreutils;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 4 Apr 2018 02:21:02 UTC

Severity: wishlist

Tags: patch

To reply to this bug, email your comments to 31055 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#31055; Package coreutils. (Wed, 04 Apr 2018 02:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Wed, 04 Apr 2018 02:21:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-coreutils <at> gnu.org
Subject: Document ls -Ur -fr
Date: Wed, 04 Apr 2018 08:03:55 +0800
(info "(coreutils) Sorting the output") says

‘-r’
‘--reverse’
     Reverse whatever the sorting method is—e.g., list files in reverse
     alphabetical order, youngest first, smallest first, or whatever.

OK but mention 'whatever' doesn't mean -U, -f, because they are sorted
in "unsorted" order. In fact perhaps trigger an error.

Actually directory order is still an order, so in fact it is odd that -r
is "broken" here.




Severity set to 'wishlist' from 'normal' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 30 Oct 2018 03:06:01 GMT) Full text and rfc822 format available.

Changed bug title to 'doc: ls: mention -r/--reverse does not work for -U/-f' from 'Document ls -Ur -fr' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 30 Oct 2018 03:06:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-coreutils <at> gnu.org:
bug#31055; Package coreutils. (Sun, 30 Dec 2018 19:40:01 GMT) Full text and rfc822 format available.

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

From: Assaf Gordon <assafgordon <at> gmail.com>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>,
 31055 <at> debbugs.gnu.org
Subject: Re: bug#31055: Document ls -Ur -fr
Date: Sun, 30 Dec 2018 12:39:42 -0700
[Message part 1 (text/plain, inline)]
Hello,

On 2018-04-03 6:03 p.m., 積丹尼 Dan Jacobson wrote:
> (info "(coreutils) Sorting the output") says
> 
> ‘-r’
> ‘--reverse’
>       Reverse whatever the sorting method is—e.g., list files in reverse
>       alphabetical order, youngest first, smallest first, or whatever.
> 
> OK but mention 'whatever' doesn't mean -U, -f, because they are sorted
> in "unsorted" order. In fact perhaps trigger an error.

Attached a small patch to clarify this point in the manual.

regards,
 -assaf
[0001-doc-ls-mention-reverse-r-has-no-effecrt-with-U-f.patch (text/x-patch, attachment)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#31055; Package coreutils. (Thu, 03 Jan 2019 16:30:02 GMT) Full text and rfc822 format available.

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

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Assaf Gordon <assafgordon <at> gmail.com>,
 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>,
 31055 <at> debbugs.gnu.org
Subject: Re: bug#31055: Document ls -Ur -fr
Date: Thu, 3 Jan 2019 17:29:05 +0100
On 12/30/18 8:39 PM, Assaf Gordon wrote:
> Subject: [PATCH] doc: ls: mention --reverse/-r has no effecrt with -U/-f

Thanks, minor nit:

s/effecrt/effect/

Have a nice day,
Berny





Added tag(s) patch. Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 18 Sep 2022 14:31:02 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 271 days ago.

Previous Next


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