groff before CVS: release 1.06
[s-roff.git] / grog / grog.man
blobbf2718325ada4efc6814ee09c94119dc9a1350d3
1 .TH GROG @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
2 .SH NAME
3 grog \- guess options for groff command
4 .SH SYNOPSIS
5 .B grog
7 .BI \- option
8 \|.\|.\|.
11 .IR files \|.\|.\|.
13 .SH DESCRIPTION
14 .B grog
15 reads
16 .I files
17 and guesses which of the
18 .BR groff  (@MAN1EXT@)
19 options
20 .BR \-e ,
21 .BR \-man ,
22 .BR \-me ,
23 .BR \-mm ,
24 .BR \-ms ,
25 .BR \-p ,
26 .BR \-s ,
27 and
28 .BR \-t
29 are required for printing
30 .IR files ,
31 and prints the groff command including those options on the standard output.
32 A filename of
33 .B \-
34 is taken to refer to the standard input.
35 If no files are specified the standard input will be read.
36 Any specified options will be included in the printed command.
37 No space is allowed between options and their arguments.
38 For example,
39 .IP
40 .B `grog \-Tdvi paper.ms`
41 .LP
42 will guess the approriate command to print
43 .B paper.ms
44 and then run it after adding the
45 .B \-Tdvi
46 option.
47 .SH "SEE ALSO"
48 .BR doctype (1),
49 .BR groff (@MAN1EXT@),
50 .BR @g@troff (@MAN1EXT@),
51 .BR @g@tbl (@MAN1EXT@),
52 .BR @g@pic (@MAN1EXT@),
53 .BR @g@eqn (@MAN1EXT@),
54 .BR @g@soelim (@MAN1EXT@)