File:  [TIS-4000 Rel T60] / scripts / diffall
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Mon Nov 29 15:10:45 1999 UTC (18 years ago) by tis4000
Branches: MAIN, HIA
CVS tags: baseline, LMC_baseline, HEAD, Duluth_baseline
Setup initial baseline

#!/bin/csh

pushd /jaz/t51/share
# scan all directories that aren't CVS
foreach CDIR (`find . ! -name CVS -type d -print`) 

echo ------------------------ Examining $CDIR ---------------------------------

# process all files!
#foreach CFILE (`ls $CDIR/*.[chC]` `ls $CDIR/*.pc` `ls $CDIR/*.cpp` `ls $CDIR/*.ascii`)
foreach CFILE (`ls $CDIR/*.*`)
#foreach CFILE (`ls $CDIR/*.[c,h,C]` `ls $CDIR/*.pc`)

if (-e /tis/t52/share/$CFILE) then
'rm' -f currdiff.txt

diff -wbt /jaz/t51/share/$CFILE /tis/t52/share/$CFILE >currdiff.txt

# only display a diff if a real difference exists
if (! -z currdiff.txt) then

echo ===========================================================================
echo Differences /jaz/t51/share/$CFILE /tis/t52/share/$CFILE
echo ===========================================================================
cat currdiff.txt

endif

else	
echo $CFILE Does not exist

endif

end

end
popd



FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>