File:  [Apple Darwin 0.x] / driverkit / doc / OLD_NRW / api_change_update
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:37:51 2018 UTC (8 years, 3 months ago) by root
Branches: MAIN, Apple
CVS tags: HEAD, Darwin03, Darwin02
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
 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.