#!/bin/bash

# This version by Kurt Schwehr
# Adapted from version by JCHill Jun/Jul2003

if [ $# != 2 ]; then
  echo "must specify one file:"
  echo
  echo "  $0 line.sgy outputBaseName"
  exit
fi

declare in=$1
declare outb=$2

# read SEG-Y standard file and convert to SU native format
segyread tape=${in} verbose=1 vblock=1000 conv=1 endian=1|segyclean>${outb}.su

