BAIT: subheader command

NAME

subheader - removes the header from a .coo or .pht file

SYNOPSIS

subheader [file] [inverse]

DESCRIPTION

subheader copies lines from stdin or the filename specified on the command line that occur after an END statement to stdout. (The END must be left justified.) This allows you to remove the data from file written by the BAIT that contain header information written the buffers command followed by data written by the phot or stars command.

If the inverse option is specified, only the header is copied to stdout and the data after the END statement are ignored.

If nothing is written to stdout, the program exits with a non-zero status code.

BUGS

This command differs from an earlier version which overwrote the file.

SEE ALSO

buffers, phot, stars