#!/bin/csh foreach f(`cat ~trent/mh.diff.files`) set fpath = `echo $f | awk -F+ '{ print $1}'` set file = `echo $f | awk -F+ '{ print $2}'` echo "now doing ${fpath}/${file}" cd /c/trent/mh/$fpath if (!(-e SCCS)) then mkdir SCCS endif if (!(-e SCCS/s.${file})) then newsccs ${file} endif sccs edit ${file} cp /c/trent/mh.new/${fpath}/${file} . echo "update from Craig Leres (leres@helios.ee.lbl.gov) + changes for 4.3-Reno" \ | sccs delget ${file} end