mybin

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

git-merge-log (149B)


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