GNU bug report logs -
#30717
i miss some ls-features
Previous Next
Reported by: kalle <kalle <at> projektwerkstatt.de>
Date: Mon, 5 Mar 2018 21:03:01 UTC
Severity: normal
Tags: notabug
Done: Eric Blake <eblake <at> redhat.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#30717: i miss some ls-features
which was filed against the coreutils package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 30717 <at> debbugs.gnu.org.
--
30717: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30717
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
tag 30717 notabug
thanks
On 03/05/2018 03:01 PM, kalle wrote:
> hello
> I wonder why for the ls-command I don't find the following features, I
> consider important:
> - list the size of files. For directories, list the total size of the
> tree beneath them
Because this feature is already provided by the 'du' tool.
> - for ls -R (recursive presentation) limit it to a certain depth
> greetings,
Because this feature is already provided by the 'find' tool.
One philosophy of Unix design is that each tool should do one thing
well, rather than trying to repeat functionality already present elsewhere.
As such, I'm marking this as not a bug in the coreutils database, but
you are welcome to continue conversation if you think you have strong
arguments for changing ls. Note that if there is an alternative
implementation of ls (such as BSD ls) that does what you want via a
particular command line option, then that is a much stronger argument
for teaching coreutils ls to do the same thing. But merely adding
something to ls that can already be accomplished by another standardized
tool is probably just going to be bloat to an already large 'ls' binary.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
[Message part 3 (message/rfc822, inline)]
hello
I wonder why for the ls-command I don't find the following features, I
consider important:
- list the size of files. For directories, list the total size of the
tree beneath them
- for ls -R (recursive presentation) limit it to a certain depth
greetings,
kalle
This bug report was last modified 7 years and 79 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.