From 1782c40176449907029e072138d1760c9140b265 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 9 Dec 2004 17:50:54 +0000 Subject: [PATCH] (ls invocation): Document new "ls" exit status. --- doc/coreutils.texi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 4799538635..0795088e4a 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -5290,7 +5290,14 @@ within each section, options are listed alphabetically (ignoring case). The division of options into the subsections is not absolute, since some options affect more than one aspect of @command{ls}'s operation. -@exitstatus +@cindex exit status of @command{ls} +Exit status: + +@display +0 success +1 minor problems (e.g., a file could not be found) +2 serious trouble (e.g., memory exhausted) +@end display Also see @ref{Common options}. -- 2.47.2