Rev | Author | # | Line |
---|---|---|---|
1 | perry | 1 | GROG |
2 | !!!GROG | ||
3 | NAME | ||
4 | SYNOPSIS | ||
5 | DESCRIPTION | ||
6 | SEE ALSO | ||
7 | ---- | ||
8 | !!NAME | ||
9 | |||
10 | |||
11 | grog - guess options for groff command | ||
12 | !!SYNOPSIS | ||
13 | |||
14 | |||
15 | __grog__ [[ __-__''option'' ... ] [[ ''files''... | ||
16 | ] | ||
17 | !!DESCRIPTION | ||
18 | |||
19 | |||
20 | __grog__ reads ''files'' and guesses which of the | ||
21 | groff(1) options __-e__, __-man__, __-me__, | ||
22 | __-mm__, __-ms__, __-mdoc, -mdoc-old, -p__, | ||
23 | __-R__, __-g__, __-G__, __-s__, and __-t__ | ||
24 | are required for printing ''files'', and prints the groff | ||
25 | command including those options on the standard output. A | ||
26 | filename of __-__ is taken to refer to the standard | ||
27 | input. If no files are specified the standard input will be | ||
28 | read. Any specified options will be included in the printed | ||
29 | command. No space is allowed between options and their | ||
30 | arguments. The only options recognized are __-C__ (which | ||
31 | is also passed on) to enable compatibility mode, and | ||
32 | __-v__ to print the version number. | ||
33 | |||
34 | |||
35 | For example, | ||
36 | |||
37 | |||
38 | __`grog -Tdvi paper.ms`__ | ||
39 | |||
40 | |||
41 | will guess the appropriate command to print __paper.ms__ | ||
42 | and then run it after adding the __-Tdvi__ | ||
43 | option. | ||
44 | !!SEE ALSO | ||
45 | |||
46 | |||
47 | doctype(1), groff(1), troff(1), | ||
48 | tbl(1), pic(1), eqn(1), | ||
49 | refer(1), grn(1), grap(1), | ||
50 | soelim(1) | ||
51 | ---- |