A simple script file that will run a circuit prepared as indicated above and plot any resulting plots can be created as follows:
#! /bin/sh
# remove any left over plot files
rm plot*
# run the analysis
ccicap $1.inp $1.out
# print any new plots that resulted
lpr plot*
If the script file is named 'caprun', a CCICAP analysis can be done by entering the following command line:
$caprun circuit
where 'circuit' is the name of an existing CCICAP analysis file with a '.inp' extension. The ASCII output will be placed in a file named 'circuit.out'.