SYNOPSIS

PERL PROGRAM NAME:

AUTHOR: Juan Lorenzo (Perl module only)

DATE:

DESCRIPTION:

Version:

USE

NOTES

Examples

SYNOPSIS

SEISMIC UNIX NOTES BHEDTOPAR - convert a Binary tape HEaDer file to PAR file format

     bhedtopar < stdin outpar=parfile					



 Required parameter:							

 	none								

 Optional parameters:							

	swap=0 			=1 to swap bytes			

 	outpar=/dev/tty		=parfile  name of output param file	



 Notes: 								

 This program dumps the contents of a SEGY binary tape header file, as 

 would be produced by segyread and segyhdrs to a file in "parfile" format.

 A "parfile" is an ASCII file containing entries of the form param=value.

 Here "param" is the keyword for the binary tape header field and	

 "value" is the value of that field. The parfile may be edited as	

 any ASCII file. The edited parfile may then be made into a new binary tape 

 header file via the program    setbhed.				



 See    sudoc  setbhed   for examples					





 Credits:



	CWP: John Stockwell  11 Nov 1994

User's notes (Juan Lorenzo) untested

CHANGES and their DATES

Import packages

instantiation of packages

Encapsulated hash of private variables

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 outpar

sub param

sub swap

sub get_max_index

max index = number of input variables -1