summaryrefslogtreecommitdiff
path: root/chardiff.sh
blob: 17234aebf49812a70a8b78280f18c3f10d1a0ba0 (plain)
1
2
3
4
5
6
7
#!/bin/sh

file1=${1?usage: chardiff FILE1 FILE2 [FLAGS]}
file2=${2?usage: chardiff FILE1 FILE2 [FLAGS]}
shift 2

wdiff "$@" <(chardiff_pre < "$file1") <(chardiff_pre < "$file2") | chardiff_post