bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ls needs perl's -w to warn of so many bad switch combos


From: Dan Jacobson
Subject: ls needs perl's -w to warn of so many bad switch combos
Date: 15 Jun 2002 15:55:53 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

True, the man pages says "-r, --reverse reverse order while sorting",
and we are not sorting, but still, can't we add something like perl's
-w, to tell the user "-r is useless with -U.  ignoring -r"

$ /bin/ls -U|sum
58867   109
$ /bin/ls -Ur|sum
58867   109
$ /bin/ls -Ur|tac|sum
14097   109

There are tons of other ls switch combos in which one switch is
silently ignored also.  Down with silence.  OK, compromise: on the man
page list what really happens for various switch combos.
-- 
http://jidanni.org/ Taiwan(04)25854780



reply via email to

[Prev in Thread] Current Thread [Next in Thread]