NetBSD/gnu/usr.bin/groff/man/grog.man
1993-03-21 09:45:37 +00:00

55 lines
1.0 KiB
Groff

.TH GROG @MAN1EXT@ "20 October 1990" "Groff Version @VERSION@"
.SH NAME
grog \- guess options for groff command
.SH SYNOPSIS
.B grog
[
.BI \- option
\|.\|.\|.
]
[
.IR files \|.\|.\|.
]
.SH DESCRIPTION
.B grog
reads
.I files
and guesses which of the
.BR groff (@MAN1EXT@)
options
.BR \-e ,
.BR \-man ,
.BR \-me ,
.BR \-mm ,
.BR \-ms ,
.BR \-p ,
.BR \-s ,
and
.BR \-t
are required for printing
.IR files ,
and prints the groff command including those options on the standard output.
A filename of
.B \-
is taken to refer to the standard input.
If no files are specified the standard input will be read.
Any specified options will be included in the printed command.
No space is allowed between options and their arguments.
For example,
.IP
.B `grog \-Tdvi paper.ms`
.LP
will guess the approriate command to print
.B paper.ms
and then run it after adding the
.B \-Tdvi
option.
.SH "SEE ALSO"
.BR doctype (1),
.BR groff (@MAN1EXT@),
.BR gtroff (@MAN1EXT@),
.BR gtbl (@MAN1EXT@),
.BR gpic (@MAN1EXT@),
.BR geqn (@MAN1EXT@),
.BR gsoelim (@MAN1EXT@)