mybin

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

commit c07b2983f10bed0e272c236d1fc750d685dd0792
parent b08569c19d7748d0454eeb16c874927d6cdbaa85
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Wed, 28 Dec 2016 02:06:09 +0100

stable sort

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 -k1,1n | uniq | grep '^[0-9]*\s' > "$2" +cat "$1" "$2" "$3" | sort -s -k1,1n | uniq | grep '^[0-9]*\s' > "$2" exit 0