'sort F -o F' no longer needs to copy F.

This commit is contained in:
Jim Meyering 2001-03-13 08:29:01 +00:00
parent 86c5a50e86
commit 25a9e171a2

View File

@ -2256,9 +2256,9 @@ Other options are:
@opindex -o
@cindex overwriting of input, allowed
Write output to @var{output-file} instead of standard output.
If @var{output-file} is one of the input files, @code{sort} copies
it to a temporary file before sorting and writing the output to
@var{output-file}.
If necessary, @command{sort} reads input before opening
@var{output-file}, so you can safely sort a file in place by using
commands like @code{sort F -o F} and @code{cat F | sort -o F}.
@item -S @var{size}
@opindex -S