#!/bin/sh

if [ $# = 1 ]
then
	file=$1
else
	echo "usage: $0 magic_stdcell_file"
	exit
fi

cat $file | sed -e "s/GND\!/GND/" -e "s/Vdd\!/Vdd/" -e "/rlabel [pn]transistor/d"

