From 12ea18c68da2794a437d781004aa0a5df8572a2d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 24 Mar 1996 02:19:31 +0000 Subject: [PATCH] . --- doc/textutils.texi | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.47.2