#!/bin/csh -f
#
#  This C-shell sccript is used to make the CIFoutput section of
#    MOSIS's CMOS technology file for Magic version 6.3
#
echo "Making CIFoutput..."
#  use C-preprocessor to calaulate lambda value
cc -P cifout.c
#  string replace...
sed -e "/^#/D" -e "s/(gen )/(gen)/" -e "s/(nwell )/(nwell)/" -e "s/(pwell )/(pwell)/" cifout.i > CIFout
# remove tmp file
rm -f cifout.i
