Clean up a flat file with PEGs in it.
This script runs through a tab-delimited text file, removing duplicate entries and entries for features not in the Sprout database. The positional parameters should be the names of the files to clean.
The currently-supported command-line options are as follows.
Name suffix to be used for log files. If omitted, the PID is used.
Numeric trace level. A higher trace level causes more messages to appear. The
default trace level is 2. Tracing will be directly to the standard output
as well as to a traceUser.log file in the FIG temporary directory,
where User is the value of the user option above.
If specified, turns on tracing of SQL activity.
If specified, the file is presumed to be in Macintosh format.
Save the standard and error output to files. The files will be created
in the FIG temporary directory and will be named errUser.log and
outUser.log, respectively, where User is the value of the
user option above.
Display this command's parameters and options.
Column in the input file that contains feature IDs. The default is 6. The
column count is 1-based.
Phone number to message when the script is complete.