To convert a file using Basic Seismic Utilities (BSU)
from SEGY to seg (the BSU internal format)

bcnv hg01.sgy 0 1 1

Output:
bcnvhg01.seg
bcnvhg01.lst
The header file will be in the listing file, bcnvhg01.lst

-----------------bcnv -h -------------Documentation:
NOTE: parameters idfc and iunits not required sgy==>seg

 |---------------------------------------------|
 |Conversion Program  segy <----> BSU bsegy    |
 |                    *.sgy        *.seg       |
 |---------------------------------------------|
  
  bcnv  infile endian compliance idirec idfc iunits hedfil 
 
     infile   =  input file name
     endian  0= Little Endian host (Linux PC)   
             1= Big    Endian host (IBM Mainframe)
  compliance 1= SEGY Compliant (EBCDIC, IBM Float, BigEndian) 
             0= (ASCII Reel Header, Float and endian of host) 
     idirec  0= BSEGY ==>SEG-Y (new *.sgy)
             1= SEG-Y ==>BSEGY (new *.seg)
     idfc    1= floating point 4 byte output
             2= long integer   4 byte output
             3= short integer  2 byte output
             (uses reel header if SEG-Y input data)
     iunits  1= meters
             2= feet
             (uses reel header if SEG-Y input data)
 
NOTE: 
 hedfil only input if idirec=0  BSEGY --> SEG-Y 
 (hedfil contains 3200 bytes, 40 records, 80char each
 If hedfil='none', then blank lines after C used 

