diff options
-rw-r--r-- | doc/textutils.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/textutils.texi b/doc/textutils.texi index 432d63639..136ecdc49 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 |