bug-coreutils
[Top][All Lists]
Advanced

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

[ls] undocumented exit (return) value


From: Pascal A. Dupuis
Subject: [ls] undocumented exit (return) value
Date: Tue, 16 Dec 2003 11:24:05 +0100
User-agent: Mutt/1.5.4i

Hello,

I found by trial-and-errors that 'ls' from coreutils returns a status
which is not zero in case of problems like no file matching a given
pattern. I think such cases should be documented in the man and info
pages, to clarify exactly which situations lead to such a non-zero
exit status.

I use coreutils version 5.0 on a Debian-Sarge installation.

Best regards 

Pascal Dupuis

-- 
Dr. ir. Pascal Dupuis
K. U. Leuven, ESAT/ELECTA (formerly ELEN):  http://www.esat.kuleuven.ac.be/
Kasteelpark Arenberg, 10; B-3001 Leuven-Heverlee, Belgium
Tel. +32-16-32 10 21 -- Fax +32-16-32 19 85




reply via email to

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