UNIX question (spline command)

Ch1m3r4

Gawd
Joined
Apr 11, 2003
Messages
870
well, what does it do? I mean, I know it interpolates points or whatever.

Here is the issue...I have a script written by someone else that I will need to use. He calls the spline command in the script, but doesn't input anything into it in the script.

here's what I mean:

mkdir case1/run_jjjj
cp case1jjjj.inp deice.inp
lewice < input.inp
spline
cat tectemp1.dat tecplot1.dat > tectemp1a.dat
cat tectemp2.dat tecplot2.dat > tectemp2a.dat
mv tectemp1a.dat tectemp1.dat
mv tectemp2a.dat tectemp2.dat
mv tecplot*.dat case1/run_jjjj

lewice is a program, it makes a whole bunch of output files, prints some stuff to the screen (which is echo'd to a file btw). then he calls spline, then goes straight to concatenating some files. I will eventually be able to ask the writer, but not for a while, so I was looking for some input.
 
from the manpage:

Code:
SPLINE(1)                   GNU Plotting Utilities                   SPLINE(1)

NAME
       spline - interpolate datasets using splines under tension

SYNOPSIS
       spline [ options ] [ files ]

Spline reads from stdin if it's not explicitly given input. I doubt that script ever terminates (unless there's some sort config file that makes spline read from some other file). I'd be suprised if the script even terminates...
 
I know it terminates because he generated results and published them...
unless he had a different version that he modified and forgot to give me.

I'm sending him an email tomorrow asking what was up with that.
 
Back
Top