DOCUMENTATION
SYNOPSIS
PERL PROGRAM NAME: B2A - convert binary floats to ascii
AUTHOR: Juan Lorenzo (Perl module only)
DATE:
DESCRIPTION:
Version:
USE
NOTES
Examples
SEISMIC UNIX NOTES
B2A - convert binary floats to ascii
b2a <stdin >stdout
Required parameters:
none
Optional parameters:
n1=2 floats per line in output file
format=0 scientific notation
=1 long decimal float form
outpar=/dev/tty output parameter file, contains the
number of lines (n=)
other choices for outpar are: /dev/tty,
/dev/stderr, or a name of a disk file
Note:
Parameter: ",
format=0 uses printf("%15.10e ", x[i1])
format=1 uses printf("%15.15f ", x[i1])
Credits:
CWP: Jack K. Cohen
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 format
sub n1
sub outpar
sub get_max_index
max index = number of input variables -1