GNU bug report logs - #70418
ls bug

Previous Next

Package: coreutils;

Reported by: Toby Kelsey <toby.kelsey <at> gmail.com>

Date: Tue, 16 Apr 2024 15:09:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


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

From: Chris Elvidge <celvidge001 <at> gmail.com>
To: Toby Kelsey <toby.kelsey <at> gmail.com>, 70418 <at> debbugs.gnu.org
Subject: Re: bug#70418: ls bug
Date: Tue, 16 Apr 2024 16:53:06 +0100

On 16/04/2024 at 16:07, Toby Kelsey wrote:
> There appears to be a bug with 'ls' when using the '-f' and '-l' 
> options, or at least an inconsistency with the man page. The man page 
> says '-f' list entries in directory order and does not mention any 
> incompatibilities with other options, however I find using it with the 
> '-l' option gives different ouputs depending on the order of options. 
> See the following script log for an example:
> 
> 
It really says -f = do not sort, enable -aU. -U = do not sort

It also says -f = disable -ls --color

So -l -f = -f takes precedence, -f -l = -l takes precedence.

-- 

Chris Elvidge





This bug report was last modified 1 year and 31 days ago.

Previous Next


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