grog

Copyright (C) 1989-2000, 2001, 2002 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be included in translations approved by the Free Software Foundation instead of in the original English.

NAME

grog - guess options for groff command

SYNOPSIS

grog [ I - option ... ] [ R files  ... ]

DESCRIPTION

grog reads files and guesses which of the R groff (1) options R -e , R -man , R -me , R -mm , R -mom , R -ms , R -mdoc, R -mdoc-old, R -p , R -R , R -g , R -G , R -s , and R -t are required for printing R files , and prints the groff command including those options on the standard output. A filename of - 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. The only options recognized are -C (which is also passed on) to enable compatibility mode, and -v to print the version number.
For example,
`grog -Tdvi paper.ms`
will guess the appropriate command to print paper.ms and then run it after adding the -Tdvi option.

SEE ALSO

doctype(1), groff(1), troff(1), tbl(1), pic(1), eqn(1), refer(1), grn(1), grap(1), soelim(1) .