On Wed, 31 Aug 2011 14:01:34 +0100 "Steve Simon" <st...@quintile.net> wrote: > What I think I need is a program which parses C and will > do diffs at the level of functions, globals , #defines and enums.
This won't work at the level of functions but I've found diff -c output to be nice to use with acme. It assumes no spaces in filenames, :) I don't suppose everyone has Erik's rc patch yet. !#/bin/rc fn cd flist = `{@{cd B && du -a | awk '{print $2}'}} for(f in $flist) { if(test -e A/$f) { diff -c A/$f B/$f } if not { echo B/$f': new file' } echo }