better cpp
[minix3.git] / tools / nbsd_diff.sh
blob11cfbea7f1dd671b47a2228af7e04bfed268ce2c
1 #!/bin/sh
2 echo "Updating $3"
3 diff -ru $1 $2 | \
4 sed /"^Only in"/d | \
5 sed -e 's/^\(---.*\)\t.*/\1/' | \
6 sed -e 's/^\(\+\+\+.*\)\t.*/\1/' > $3