On 2007-08-21 15:30:17 -0400, Michael Stone wrote:
> It's not giving a diagnostic because the file doesn't exist, it's
> giving a diagnostic because it can't even tell whether the file
> exists (that is, you'll get the same error whether the file is there
> or not). POSIX doesn't say "-c do not print any diagnostic messages
> for this file at all", so I think that coreutils is behaving
> correctly.

There are clearly different interpretations. I've asked the question
on the austin-group list.

Concerning the documentation, I don't understand why you don't want
to add something like "Do not write any diagnostic messages concerning
this condition." as POSIX does. Not writing a diagnostic message when
the considered file doesn't exist is certainly not a Unix fundamental,
and I'd say this is even an exception (and that's why POSIX mentions
it).

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)

Reply via email to