Subject | Hash | Author | Date (UTC) |
---|---|---|---|
document that -a should be atomic (it's not implemented as such yet) | de5a08fca9dfe0f847e81214af81064c2aaa77ae | Joey Hess | 2015-01-19 17:23:48 |
switch to getopt | 843154d7f3fc592b6bca110384e501e8f6df47bc | Joey Hess | 2015-01-19 17:21:47 |
changelog | 9828d3257691a52d9c3e084e5e77f7eb84452a48 | Joey Hess | 2015-01-19 17:02:36 |
reword | 5fc75ad5d7a2e1594a78d46715f3f01c48b1372c | Joey Hess | 2015-01-19 17:01:58 |
sponge: add append option '-a' (Closes: #623197) | 51c6514da433a54a70b49bc928113119a08440a6 | Nicolas Schier | 2015-01-14 05:47:19 |
changelog | 5f0360ae33d21d8ba35679dc5c1dd3af9e36dab4 | Joey Hess | 2015-01-19 16:58:25 |
rewording | f44acae28d10d153c7b8cca5c72ebfb1ed4c3be5 | Joey Hess | 2015-01-19 16:57:44 |
parallel: serialise output through internal pipe (Closes: #704125) | 823b5754d2275b5b17bd03d94200946789ccf28c | Nicolas Schier | 2015-01-15 08:15:17 |
prep release | fe7652adc13d99b8c697bccaff905eed22ef4a0c | Joey Hess | 2014-11-28 15:25:40 |
update | 5bcbf230bd326d0731b6d7c2b82fc10789b3b004 | Joey Hess | 2014-11-10 16:19:05 |
vidir handle items with common prefix (moreutils debian bug 654326) | 0aeceb285c9ce53a78c3b2fac8ff4b2015a0965d | Kushal Kumaran | 2014-11-10 11:23:40 |
Orphaned the Debian package. | 2ac31faaefa940248c1d2818671bc7476661fabc | Joey Hess | 2014-11-08 04:31:47 |
prep | ab65e3880c57b508b5f4e1ab46872dd797f5c1dd | Joey Hess | 2014-09-09 18:12:12 |
Add option to count elapsed time since the start of the program. | ae14e19ebb489d4c063ba82ef0247439fc3417c3 | Adam Juraszek | 2014-09-09 07:00:19 |
Fix docbook markup for parallel examples. Closes: #756377 | 10de03e34f78612531f49828b0f32b8fc0152451 | Joey Hess | 2014-07-29 15:46:00 |
portability fix | 7096a1dc5b014d8fc14477758baf2c8c3b8c9f39 | Joey Hess | 2014-02-28 19:19:58 |
sv | f0eadf7076dc44bfd439e6199ad46eaeacfe19ec | Joey Hess | 2014-02-27 16:02:29 |
prep release | 8d7819910267592baf02dae9413b795c15990715 | Joey Hess | 2014-02-27 16:01:29 |
Fix ifdata, ifne, parallel to build on illumos. Thanks, Gabriele Giacone Closes: #733736 | cd3722aabdefd293f0200c56579616092a15e5a4 | Joey Hess | 2013-12-31 17:36:33 |
Make vipe manpage a little clearer | 63d717ea18eea93f89ef9654b1626bef500b6e36 | Marian Sigler | 2013-11-18 02:34:31 |
File | Lines added | Lines deleted |
---|---|---|
sponge.docbook | 17 | 8 |
File sponge.docbook changed (mode: 100644) (index 601be42..baeede2) | |||
... | ... | USA | |
60 | 60 | redirect, sponge soaks up all its input before | redirect, sponge soaks up all its input before |
61 | 61 | opening the output file. This allows constructing | opening the output file. This allows constructing |
62 | 62 | pipelines that read from and write to | pipelines that read from and write to |
63 | the same file.</para> | ||
63 | the same file. | ||
64 | </para> | ||
64 | 65 | <para> | <para> |
65 | 66 | It also creates the output file | It also creates the output file |
66 | 67 | atomically by renaming a temp file into place, | atomically by renaming a temp file into place, |
67 | 68 | and preserves the permissions of the output file | and preserves the permissions of the output file |
68 | 69 | if it already exists. | if it already exists. |
70 | </para> | ||
71 | <para> | ||
69 | 72 | If the output file is a special file or symlink, | If the output file is a special file or symlink, |
70 | the data will be written to it.</para> | ||
71 | <para>If no output file is specified, sponge outputs to | ||
72 | stdout.</para> | ||
73 | |||
73 | the data will be written to it, non-atomically. | ||
74 | </para> | ||
75 | <para> | ||
76 | If no output file is specified, sponge outputs to | ||
77 | stdout. | ||
78 | </para> | ||
74 | 79 | </refsect1> | </refsect1> |
75 | 80 | ||
76 | 81 | <refsect1> | <refsect1> |
... | ... | USA | |
81 | 86 | <varlistentry> | <varlistentry> |
82 | 87 | <term><option>-a</option></term> | <term><option>-a</option></term> |
83 | 88 | <listitem> | <listitem> |
84 | <para>Append the output to the specified file | ||
85 | instead of the default behavior of | ||
86 | overwriting the file.</para> | ||
89 | <para> | ||
90 | Atomically replace the file | ||
91 | with a new file that contains | ||
92 | the file's original content, | ||
93 | with the sponged standard input | ||
94 | appended to it. | ||
95 | </para> | ||
87 | 96 | </listitem> | </listitem> |
88 | 97 | </varlistentry> | </varlistentry> |
89 | 98 |