summaryrefslogtreecommitdiff
path: root/tools/diff.sh
blob: 3fd5829550bb4b2d24129cedbcfddeaaa51ec0de (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

files=`find ext -name '*.[ch]' -o -name parser.rl`

for f in $files
do
  echo $f
  b=`basename $f`
  g=`find ../ruby/ext/json -name $b`
  diff -u $f $g | less
done