groff: remove version tag from directory
[dragonfly.git] / contrib / groff / src / roff / grog / grog.man
1 .ig
2 Copyright (C) 1989-2000, 2001, 2002, 2003 Free Software Foundation, Inc.
3
4 Permission is granted to make and distribute verbatim copies of
5 this manual provided the copyright notice and this permission notice
6 are preserved on all copies.
7
8 Permission is granted to copy and distribute modified versions of this
9 manual under the conditions for verbatim copying, provided that the
10 entire resulting derived work is distributed under the terms of a
11 permission notice identical to this one.
12
13 Permission is granted to copy and distribute translations of this
14 manual into another language, under the above conditions for modified
15 versions, except that this permission notice may be included in
16 translations approved by the Free Software Foundation instead of in
17 the original English.
18 ..
19 .TH GROG @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
20 .SH NAME
21 grog \- 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
33 reads
34 .I files
35 and guesses which of the
36 .BR groff  (@MAN1EXT@)
37 options
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 ,
51 and
52 .BR \-t
53 are required for printing
54 .IR files ,
55 and prints the groff command including those options on the standard output.
56 A filename of
57 .B \-
58 is taken to refer to the standard input.
59 If no files are specified the standard input will be read.
60 Any specified options will be included in the printed command.
61 No space is allowed between options and their arguments.
62 The only options recognized are
63 .B \-C
64 (which is also passed on) to enable compatibility mode, and
65 .B \-v
66 to print the version number.
67 .LP
68 For example,
69 .IP
70 .B \`grog \-Tdvi paper.ms\`
71 .LP
72 will guess the appropriate command to print
73 .B paper.ms
74 and then run it after adding the
75 .B \-Tdvi
76 option.
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: