Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > media > contrib-release > by-pkgid > 4c9f17ec5da473f7fb52041bb9197c5a > files > 125

kaffe-devel-1.1.8-0.20060723.1mdv2007.0.i586.rpm

## run from libraries/javalib
## find all java sources
## which contain the string "of GNU Classpath"
## and print out the files found
## pass it to xargs to diff them one by one against the classpath dir
## grep for diffs
## use awk to output just the filenames
##
## To use this, you need to set the CPATH_SOURCE environment veriable
## the directory where you've put the classpath CVS sources
##
find . -name "*.java" | xargs grep -l 2>/dev/null "of GNU Classpath" | xargs -n 1 -iXXX diff -u XXX $CPATH_SOURCE/XXX | grep "+++" | awk '{ print $2 }'