From 20777c253c30f8d2b222462b74f37a45270a194b Mon Sep 17 00:00:00 2001 From: ianmdlvl Date: Tue, 23 Mar 2004 23:03:06 +0000 Subject: [PATCH 1/1] document options --- scripts/gnucap2gnuplot | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/gnucap2gnuplot b/scripts/gnucap2gnuplot index 904649e..9d909ca 100755 --- a/scripts/gnucap2gnuplot +++ b/scripts/gnucap2gnuplot @@ -18,8 +18,10 @@ # usage: # gnucap2gnuplot [] input-file +# # Input file should be a .cir file (will be put through gnucap) # or an output file from gnucap. +# # Produces various output files: # .gnuplots.sh run this to display results # ,.gnuplot-cmd gnuplot script for displaying: @@ -30,6 +32,12 @@ # is the count, starting at 0, of which report this is from gnucap # is the individual column of Y data # +# Options +# -g do run gnucap ) default is run gnucap +# -G don't run gnucap ) if input file ends in .cir +# -o use instead of in output filenames +# If the input file is `-' then you may not specify -g and must use -o. +# # Limitations # # Only Freq (.AC) and Time (.TRAN) plots have been tested. If @@ -187,3 +195,5 @@ close A or die $!; $?=0; close STDIN; $? and fail("gnucap failed (code $?)"); $sof= "./$sof" unless $sof =~ m,/,; print ": generated ; $sof\n" or die $!; + +# $Id: gnucap2gnuplot,v 1.2 2004-03-23 23:03:06 ianmdlvl Exp $ -- 2.30.2