[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#70418: ls bug
From: |
Chris Elvidge |
Subject: |
bug#70418: ls bug |
Date: |
Tue, 16 Apr 2024 16:53:06 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Lightning/5.4 |
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