summaryrefslogtreecommitdiff
path: root/doc/textutils.texi
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-03-24 02:19:31 +0000
committerJim Meyering <jim@meyering.net>1996-03-24 02:19:31 +0000
commit12ea18c68da2794a437d781004aa0a5df8572a2d (patch)
tree011bab3f3e8136052e7fdf72d220088768b809f2 /doc/textutils.texi
parentf870ecb4a6366b4f9609e486adafaadccee9da5d (diff)
downloadcoreutils-12ea18c68da2794a437d781004aa0a5df8572a2d.tar.xz
.
Diffstat (limited to 'doc/textutils.texi')
-rw-r--r--doc/textutils.texi3
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