aboutsummaryrefslogtreecommitdiff
path: root/git-merge-log
blob: 06842334547b6e06de9c4e1d9cee803839c210e6 (plain)
1
2
3
4
5
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' | sponge "$2"
exit 0