diff options
author | Joey Hess <joey@kitenet.net> | 2010-09-13 16:08:01 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-09-13 16:08:13 -0400 |
commit | 1ac3e2c08bae4bd8e5e771dab94564d79638d414 (patch) | |
tree | 9f2c49a7a3d32316819f23af2ca25b10d6c26add /sponge.docbook | |
parent | 067b7a5419db8e78eeeee9ad62f798cb33be1e05 (diff) | |
download | moreutils-1ac3e2c08bae4bd8e5e771dab94564d79638d414.tar.gz |
sponge: Ensure that output file permissions are always preserved if it already exists.
Diffstat (limited to 'sponge.docbook')
-rw-r--r-- | sponge.docbook | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sponge.docbook b/sponge.docbook index ab2c42d..04447e3 100644 --- a/sponge.docbook +++ b/sponge.docbook @@ -58,8 +58,12 @@ USA redirect, sponge soaks up all its input before opening the output file. This allows constricting pipelines that read from and write to - the same file. It also creates the output file - atomically by renaming a temp file into place.</para> + the same file.</para> + <para> + It also creates the output file + atomically by renaming a temp file into place. + If the output file is a special file or symlink, + the data will be written to it.</para> <para>If no output file is specified, sponge outputs to stdout.</para> |