bug-coreutils
[Top][All Lists]
Advanced

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

Re: ls bug?


From: Paul Eggert
Subject: Re: ls bug?
Date: Sun, 27 May 2007 16:17:01 -0700
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

address@hidden writes:

> It is verbose to print '?' to stdout since the error message is printed
> out to stderr and the exit status is non-zero, isn't it?

Sure, but 'ls' has partial information about the files in question: it
knows their names, it knows they exist, and it knows their file types.
5.2.1 'ls' in this case refused to print anything on stdout for such
files, which meant that useful information was suppressed.  Coreutils
6.9 'ls' prints everything it discovers, using '?' to denote unknown
values; the idea is that it's more helpful to output partial
information than no information.




reply via email to

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