genbrot - BSU INTERACTIVE program creates bash file for running program brot on a group of files
genbrot [ -h ]
Basic Seismic Utilities (BSU) program creates a bash script to run brot on a block of files. The user specifies a 1 character prefix, followed by a start and end sequence number. The user must change the permissions on the bash script to execute ( that is, type chmod +x gobrot). C-Language Version.
Options
-h |
Online help giving describes use of interactive program. |
EXAMPLE
INTERACTIVE RUN:
Enter alpha prefix (char) of *.seg data to be rotated
EXAMPLE: if enter 1, then files 1001.seg to 1010.seg
would be processed if sequence
numbers 1 and 10 entered next
w
...w
Enter first file number to process
1
Enter last file number to process
10
Output in file===>gobrot
The above example produces the following contents in gobrot:
brot w001.seg 2 3 1
brot w002.seg 2 3 1
brot w003.seg 2 3 1
brot w004.seg 2 3 1
brot w005.seg 2 3 1
brot w006.seg 2 3 1
brot w007.seg 2 3 1
brot w008.seg 2 3 1
brot w009.seg 2 3 1
brot w010.seg 2 3 1
gobrot |
Bash file to execute. |
bhelp(1), brot(1)
no known bugs.
Copyright © 2024 by Paul Michaels
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
P. Michaels, PE. <[email protected]>