* doc/meref.me: Fix description of .GS request.
[s-roff.git] / src / roff / grog / grog.man
blob5c22293627a3f2bc7f1200a0d9a8ca79f8589e5a
1 .ig \"-*- nroff -*-
2 Copyright (C) 1989-1995 Free Software Foundation, Inc.
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.
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.
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.
19 .TH GROG @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
20 .SH NAME
21 grog \- guess options for groff command
22 .SH SYNOPSIS
23 .B grog
25 .BI \- option
26 \|.\|.\|.
29 .IR files \|.\|.\|.
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 \-ms ,
43 .BR \-p ,
44 .BR \-R ,
45 .BR \-g ,
46 .BR \-s ,
47 and
48 .BR \-t
49 are required for printing
50 .IR files ,
51 and prints the groff command including those options on the standard output.
52 A filename of
53 .B \-
54 is taken to refer to the standard input.
55 If no files are specified the standard input will be read.
56 Any specified options will be included in the printed command.
57 No space is allowed between options and their arguments.
58 For example,
59 .IP
60 .B `grog \-Tdvi paper.ms`
61 .LP
62 will guess the appropriate command to print
63 .B paper.ms
64 and then run it after adding the
65 .B \-Tdvi
66 option.
67 .SH "SEE ALSO"
68 .BR doctype (1),
69 .BR groff (@MAN1EXT@),
70 .BR @g@troff (@MAN1EXT@),
71 .BR @g@tbl (@MAN1EXT@),
72 .BR @g@pic (@MAN1EXT@),
73 .BR @g@eqn (@MAN1EXT@),
74 .BR @g@refer (@MAN1EXT@),
75 .BR @g@grn (@MAN1EXT@),
76 .BR @g@soelim (@MAN1EXT@)