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
[Prev in Thread]
Current Thread
[Next in Thread]
[ls] undocumented exit (return) value,
Pascal A. Dupuis<=