|
|
1.1 ! root 1: #! /bin/csh -f ! 2: # this script munges all files specified in the arglist in order to ! 3: # bring the files into conformance with the SCSI API changes made ! 4: # in 3/93. ! 5: # ! 6: set SED_DIR = /Net/grrr/mknrw/dmitch/DRIVERKIT/driverkit/doc ! 7: set sedfile = ${SED_DIR}/scsi_change.sed ! 8: set newline = ${SED_DIR}/newline ! 9: ! 10: while ( $#argv > 0 ) ! 11: set i = $argv[1] ! 12: echo $i ! 13: cp $i /tmp ! 14: cat $i $newline > ${i}.1 ! 15: sed -f $sedfile ${i}.1 > $i.new ! 16: rm -f $i ${i}.1 ! 17: mv ${i}.new $i ! 18: shift ! 19: end ! 20:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.