DOCUMENTATION
SYNOPSIS
PERL PROGRAM NAME: MKPARFILE - convert ascii to par file format
AUTHOR: Juan Lorenzo (Perl module only)
DATE:
DESCRIPTION:
Version:
USE
NOTES
Examples
SEISMIC UNIX NOTES
MKPARFILE - convert ascii to par file format
mkparfile <stdin >stdout
Optional parameters:
string1="par1" first par string
string2="par2" second par string
This is a tool to convert values written line by line to parameter
vectors in the form expected by getpar. For example, if the input
file looks like:
t0 v0
t1 v1
...
then
mkparfile <input >output string1=tnmo string2=vnmo
yields:
tnmo=t0,t1,...
vnmo=v0,v1,...
CHANGES and their DATES
sub Step
collects switches and assembles bash instructions by adding the program name
sub note
collects switches and assembles bash instructions by adding the program name
sub clear
sub string1
sub string2
sub tnmo
sub vnmo
sub get_max_index
max index = number of input variables -1