mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-26 11:23:47 +08:00
'sort F -o F' no longer needs to copy F.
This commit is contained in:
parent
86c5a50e86
commit
25a9e171a2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user