1.ig
2Copyright (C) 1989-2000, 2001, 2002, 2003 Free Software Foundation, Inc.
3
4Permission is granted to make and distribute verbatim copies of
5this manual provided the copyright notice and this permission notice
6are preserved on all copies.
7
8Permission is granted to copy and distribute modified versions of this
9manual under the conditions for verbatim copying, provided that the
10entire resulting derived work is distributed under the terms of a
11permission notice identical to this one.
12
13Permission is granted to copy and distribute translations of this
14manual into another language, under the above conditions for modified
15versions, except that this permission notice may be included in
16translations approved by the Free Software Foundation instead of in
17the original English.
18..
19.TH GROG @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
20.SH NAME
21grog \- guess options for groff command
22.SH SYNOPSIS
23.B grog
24[
25.BI \- option
26\|.\|.\|.\&
27]
28[
29.IR files\  \|.\|.\|.\&
30]
31.SH DESCRIPTION
32.B grog
33reads
34.I files
35and guesses which of the
36.BR groff  (@MAN1EXT@)
37options
38.BR \-e ,
39.BR \-man ,
40.BR \-me ,
41.BR \-mm ,
42.BR \-mom ,
43.BR \-ms ,
44.BR \-mdoc,
45.BR \-mdoc-old,
46.BR \-p ,
47.BR \-R ,
48.BR \-g ,
49.BR \-G ,
50.BR \-s ,
51and
52.BR \-t
53are required for printing
54.IR files ,
55and prints the groff command including those options on the standard output.
56A filename of
57.B \-
58is taken to refer to the standard input.
59If no files are specified the standard input will be read.
60Any specified options will be included in the printed command.
61No space is allowed between options and their arguments.
62The only options recognized are
63.B \-C
64(which is also passed on) to enable compatibility mode, and
65.B \-v
66to print the version number.
67.LP
68For example,
69.IP
70.B \`grog \-Tdvi paper.ms\`
71.LP
72will guess the appropriate command to print
73.B paper.ms
74and then run it after adding the
75.B \-Tdvi
76option.
77.SH "SEE ALSO"
78.BR doctype (1),
79.BR groff (@MAN1EXT@),
80.BR @g@troff (@MAN1EXT@),
81.BR @g@tbl (@MAN1EXT@),
82.BR @g@pic (@MAN1EXT@),
83.BR @g@eqn (@MAN1EXT@),
84.BR @g@refer (@MAN1EXT@),
85.BR @g@grn (@MAN1EXT@),
86.BR grap (1),
87.BR @g@soelim (@MAN1EXT@)
88.
89.\" Local Variables:
90.\" mode: nroff
91.\" End:
92