#!/bin/sh # ~jhs/bin/.sh/difflist # This scrip is run once each time a new relase comes out, # then I run ~jhs/bin/.csh/customise # then I analyse any .rej files & manually tweak diffs further. echo this script does work but too dangerous to leave in std search path. exit 1 cd /home/jhs/public_html/src/bsd/fixes/FreeBSD for i in `find . \( -type f -o -type l \) -name \*7.3-RELEASE\*` ; do echo Starting $i dir=`dirname $i` base=`basename $i` new=`echo $base | sed -e s/7.3-RELEASE/7.4-RELEASE/` echo XX $dir YY $base ZZ $new 00 ( cd $dir ; /bin/pwd ) ( cd $dir ; echo ln -s $base $new ) ( cd $dir ; ln -s $base $new ) echo Finishing $i echo done