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 15:36:09 -0700
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

address@hidden writes:

> - v6.9+ returns an error and prints garbage to stdout.

For every line of info 'ls' can't determine due to permissions issues,
'ls' prints a diagnostic; it also prints '?' for the unknown info.
'ls' eventually exits with status 1.  The '?'s are not garbage: they
are standins for unknown information.

Perhaps the current behavior is confusing and could be improved, but
surely it wouldn't be wise for 'ls' to be silent in such a situation:
'ls' should let the user know there's a problem, and it should output
the best information that it can.




reply via email to

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