|
|
Darwin 0.2 Driver Kit
#! /bin/csh -f
# this script munges all files specified in the arglist in order to
# bring the files into conformance with the driverkit API changes made
# in 1/93.
#
set SED_DIR = /Net/grrr/mknrw/dmitch/DRIVERKIT/driverkit/doc
set sedfile1 = ${SED_DIR}/api_change.sed
set sedfile2 = ${SED_DIR}/disk_changes.sed
set newline = ${SED_DIR}/newline
while ( $#argv > 0 )
set i = $argv[1]
echo $i
cp $i /tmp
cat $i $newline > ${i}.1
sed -f $sedfile1 ${i}.1 > $i.2
sed -f $sedfile2 ${i}.2 > $i.new
rm -f $i ${i}.1 ${i}.2
mv ${i}.new $i
shift
end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.