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