GNU bug report logs - #75916
Making ls(1)'s --format clearer

Previous Next

Package: coreutils;

Reported by: Samuel Thibault <samuel.thibault <at> gnu.org>

Date: Tue, 28 Jan 2025 20:02:01 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.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: Samuel Thibault <samuel.thibault <at> gnu.org>
To: bug-coreutils <at> gnu.org
Subject: Making ls(1)'s --format clearer
Date: Tue, 28 Jan 2025 21:00:37 +0100
[Message part 1 (text/plain, inline)]
Hello,

ls(1) says this about --format:

--format=WORD
       across  -x,  commas -m, horizontal -x, long -l, single-column -1,
       verbose -l, vertical -C

It was not clear at all for my students (and not for me either,
actually), that it's the words that should be used, and not the letters.

The attached patch makes this much more explicit:

--format=WORD where WORD can be
       across  (like  -x),  commas (like -m), horizontal (like -x), long
       (like -l), single-column (like -1), verbose (like  -l),  vertical
       (like -C)

Samuel
[patch (text/plain, attachment)]

This bug report was last modified 114 days ago.

Previous Next


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