mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

commit 9a1dffea6068e6b25fffe64d68cce253576f997e
parent 552d9230ded5d2b61be00077345f0441bb20b549
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Wed, 28 Dec 2016 02:28:09 +0100

use sponge

Diffstat:
git-merge-log | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git-merge-log b/git-merge-log @@ -1,6 +1,6 @@ #!/bin/bash # merge lines that start with a timestamp -cat "$1" "$2" "$3" | sort -s -k1,1n | awk '!a[$0]++' | grep '^[0-9]*\s' > "$2" +cat "$1" "$2" "$3" | sort -s -k1,1n | awk '!a[$0]++' | grep '^[0-9]*\s' | sponge "$2" exit 0