#!/bin/sh
# SccsId = "@(#)nspice 3.6 (TU-Delft) 02/17/98"
# xspice: always use options -hilmbf;
#         the use of options -xy [ -z name ] is recommended 
xspice -hilf -xy $1
nspice_pp $1 $2 >> $1.spc
spice3 < $1.spc > $1.ana
if nspice_bs $1
then
    exit 0
else
    exit 1
fi
# eof
