From: Jim Meyering Date: Sun, 24 Mar 1996 02:19:31 +0000 (+0000) Subject: . X-Git-Tag: SH-UTILS-1_12e~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12ea18c68da2794a437d781004aa0a5df8572a2d;p=thirdparty%2Fcoreutils.git . --- diff --git a/doc/textutils.texi b/doc/textutils.texi index 432d636394..136ecdc496 100644 --- a/doc/textutils.texi +++ b/doc/textutils.texi @@ -1695,6 +1695,7 @@ mode: @cindex checking for sortedness Check whether the given files are already sorted: if they are not all sorted, print an error message and exit with a status of 1. +Otherwise, exit successfully. @item -m @opindex -m @@ -1728,6 +1729,8 @@ input line length or restrictions on bytes allowed within lines. In addition, if the final byte of an input file is not a newline, GNU @code{sort} silently supplies one. +Upon any error @code{sort} exits with status of @samp{2}. + @vindex TMPDIR If the environment variable @code{TMPDIR} is set, @code{sort} uses its value as the directory for temporary files instead of @file{/tmp}. The