nicolas / debian.moreutils (public) (License: GPL-2, GPL-2+, Expat, BSD-2-Clause, Public Domain) (since 2018-09-25) (hash sha1)
Debian packaging of joeyh's moreutils
List of commits:
Subject Hash Author Date (UTC)
mention that sponge cannot always atomically rename a temp file 6e5678c3a8a4ab3b6128bcf1e37fabf3a592c69e Joey Hess 2015-01-19 17:48:25
make -a create the file atomically 6b4ac073da1c091329974132625acac19599df72 Joey Hess 2015-01-19 17:43:37
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
Commit 6e5678c3a8a4ab3b6128bcf1e37fabf3a592c69e - mention that sponge cannot always atomically rename a temp file
Author: Joey Hess
Author date (UTC): 2015-01-19 17:48
Committer name: Joey Hess
Committer date (UTC): 2015-01-19 17:50
Parent(s): 6b4ac073da1c091329974132625acac19599df72
Signer:
Signing key:
Signing status: N
Tree: d1cfc00919e3539fe74fec8c077584acfc550374
File Lines added Lines deleted
sponge.docbook 15 9
File sponge.docbook changed (mode: 100644) (index baeede2..31bc6db)
... ... USA
57 57
58 58 <para><command>sponge</command> reads standard input and <para><command>sponge</command> reads standard input and
59 59 writes it out to the specified file. Unlike a shell writes it out to the specified file. Unlike a shell
60 redirect, sponge soaks up all its input before
61 opening the output file. This allows constructing
60 redirect, <command>sponge</command> soaks up all its input before
61 writing the output file. This allows constructing
62 62 pipelines that read from and write to pipelines that read from and write to
63 63 the same file. the same file.
64 64 </para> </para>
65 65 <para> <para>
66 It also creates the output file
67 atomically by renaming a temp file into place,
68 and preserves the permissions of the output file
66 <command>sponge</command> preserves the
67 permissions of the output file
69 68 if it already exists. if it already exists.
70 69 </para> </para>
70 <para>
71 When possible, <command>sponge</command> creates or updates the
72 output file atomically by renaming a temp
73 file into place. (This cannot be done
74 if TMPDIR is not in the same filesystem.)
75 </para>
71 76 <para> <para>
72 77 If the output file is a special file or symlink, If the output file is a special file or symlink,
73 78 the data will be written to it, non-atomically. the data will be written to it, non-atomically.
74 79 </para> </para>
75 80 <para> <para>
76 If no output file is specified, sponge outputs to
81 If no file is specified, <command>sponge</command> outputs to
77 82 stdout. stdout.
78 83 </para> </para>
79 84 </refsect1> </refsect1>
 
... ... USA
87 92 <term><option>-a</option></term> <term><option>-a</option></term>
88 93 <listitem> <listitem>
89 94 <para> <para>
90 Atomically replace the file
95 Replace the file
91 96 with a new file that contains with a new file that contains
92 97 the file's original content, the file's original content,
93 with the sponged standard input
94 appended to it.
98 with the standard input
99 appended to it. This is done
100 atomically when possible.
95 101 </para> </para>
96 102 </listitem> </listitem>
97 103 </varlistentry> </varlistentry>
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/nicolas/debian.moreutils

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/nicolas/debian.moreutils

Clone this repository using git:
git clone git://git.rocketgit.com/user/nicolas/debian.moreutils

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main