summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r--doc/coreutils.texi13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 89e97d8bc..1abf45dbf 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -3411,6 +3411,19 @@ value as the directory for temporary files instead of @file{/tmp}. The
@option{--temporary-directory} (@option{-T}) option in turn overrides
the environment variable.
+@vindex GNUSORT_COMPRESSOR
+To improve performance when sorting very large files, GNU sort will,
+by default, try to compress temporary files with the program
+@file{gzip}. The environment variable @env{GNUSORT_COMPRESSOR} can be
+set to the name of another program to be used. The program specified
+must compress standard input to standard output when no arguments are
+given to it, and it must decompress standard input to standard output
+when the @option{-d} argument is given to it. If the program exits
+with nonzero status, sort will terminate with an error. To disable
+compression of temporary files, set the variable to the empty string.
+Whitespace and the backslash character should not appear in the
+program name. They are reserved for future use.
+
The following options affect the ordering of output lines. They may be
specified globally or as part of a specific key field. If no key