In trying to track down a bug between two subtly different branches of code, I needed to know which files are different in the two branches (information which cvs doesn't always give), so I wrote this:
for file in `find lib -name '*.pm' -print`; \
> do diff --brief $file
/home/ovid/work/master/$file; done 2>&1 \
> |grep -v 'No such file'|cut -d ' ' -f 2
Surely there's a better way to get a list of which files are different in two virtually identical directory structures?