.TH darkbat 1 
.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
.\" other parms are allowed: see man(7), man(1)
.SH darkbat
darkbat \- Utility for darkframe substract. 
.SH SYNOPSIS
darkbat [-hL] [@dirfile] [-d darkfame] [dark=darkframe] [-c number]
[-m mask] [mask=mask] [image1] [image2] ...
.SH "DESCRIPTION"

long drawn out discussion of the program.  it's a good idea
to break this up into subsections using the .SS macros, like
these:
.SS "A Sample Subection"
.SS "Yet Another Sample Subection"
.SH OPTIONS
	-h Give help. Equivalent to run with no parameters.
	-L Display license.

.SH "RETURN VALUE"
Returns 0 allways.
.SH ERRORS
Returns 0 allways.
.SH EXAMPLES
Let's 'dark.fits' is darkfame, and 'sun1.fits' and 'sun2.fits'
are scientific exposures. The darkframe subtracting is done by
ls sun?.fits | darkbat @ dark=dark.fits
 
.SH ENVIRONMENT
Any environment variables. Darkbat is not system utility.
.SH FILES
all files used by the program.  typical usage is like this:
.br
.nf
.\" set tabstop to longest possible filename, plus a wee bit
.ta \w'/usr/lib/perl/getopts.pl   'u
\fI/usr/man\fR  default man tree
\fI/usr/man/man*/*.*\fR unformatted (nroff source) man pages
.SH "SEE ALSO"
.\" Always quote multiple words for .SH
other man pages to check out, like man(1), man(7), makewhatis(8), catman(8)
munipack(1), ftsbat(1), meandark(1)
.SH NOTES
miscellaneous commentary
.SH CAVEATS
Don't use on..
.SH DIAGNOSTICS
"No input files." - missing '@' at command line
.SH BUGS
Unknown.
.SH RESTRICTIONS
The image values are represented by the real type REAL*4,
Using images with any extensive data types is not recommended. 
Number of '?' characters in 'mask' is restricted to 10 
(internal variable is INTEGER*4). 
.SH AUTHOR
F. Hroch, Masaryk University, Brno (hroch@physics.muni.cz)
.SH HISTORY
This version has been developed on base previous versions 1.0
and 1.1.


