aboutsummaryrefslogtreecommitdiff
path: root/git-merge-set
blob: cdd7d31adff5ffbd554069b24a817cf6aeae6ea6 (plain)
1
2
3
4
5
6
#!/bin/bash
# merge lines as a set naively, ignoring order

cat "$1" "$2" "$3" | awk '!a[$0]++' | sponge "$2"
exit 0