X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=blobdiff_plain;f=scripts%2Fgenspic2gnuplot;h=7c213c32711838d7331ab429ade2d69b89da752b;hp=1cb0fff5e5657d7b1dad97f2bfe68ae5a6987f81;hb=d89a6d9e1a8779b387fb915a0febc0aaaebd4a1e;hpb=879a05d218d621e52048e58535c55404b05ce767 diff --git a/scripts/genspic2gnuplot b/scripts/genspic2gnuplot index 1cb0fff..7c213c3 100755 --- a/scripts/genspic2gnuplot +++ b/scripts/genspic2gnuplot @@ -23,7 +23,7 @@ # This program and its documentation are free software; you can # redistribute them and/or modify them under the terms of the GNU # General Public License as published by the Free Software Foundation; -# either version 2, or (at your option) any later version. +# either version 3, or (at your option) any later version. # # This program and its documentation are distributed in the hope that # they will be useful, but WITHOUT ANY WARRANTY; without even the @@ -31,8 +31,8 @@ # PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# with this program; if not, consult the Free Software Foundation's +# website at www.fsf.org, or the GNU Project website at www.gnu.org. die unless @ARGV==1; die if $ARGV[0] =~ m/^\-/; @@ -52,7 +52,6 @@ END for (;;) { ($c,@s)= split /\s+/, ; -print STDERR ">$c< >@s<\n"; if ($c eq 'S') { ($cplot,$logxy,@columns) = @s; $cplot .= $counter{$cplot}++; @@ -60,7 +59,7 @@ print STDERR ">$c< >@s<\n"; @mmm= map { s/^(\w+)\:// or die; $1; } @columns; open S, "> $ofb,$cplot.gnuplot-cmd" or die $!; print S <