diff options
author | Joey Hess <joey@kitenet.net> | 2010-09-13 15:55:34 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-09-13 15:55:34 -0400 |
commit | 60b82b59a729d2a4322c3305d7207ce027831e23 (patch) | |
tree | d0d581cbc08842a6486ff987d1424fe8d0f65277 /sponge.docbook | |
parent | e32af5bdb524059c98c6e158baa78db308609be0 (diff) | |
download | moreutils-60b82b59a729d2a4322c3305d7207ce027831e23.tar.gz |
sponge: Guarantee that output file is always updated atomically, by renaming a temp file into place. Closes: #592144
Diffstat (limited to 'sponge.docbook')
-rw-r--r-- | sponge.docbook | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sponge.docbook b/sponge.docbook index 24c432a..ab2c42d 100644 --- a/sponge.docbook +++ b/sponge.docbook @@ -58,7 +58,8 @@ 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. </para> + the same file. It also creates the output file + atomically by renaming a temp file into place.</para> <para>If no output file is specified, sponge outputs to stdout.</para> |