1GROG(1) General Commands Manual GROG(1)
2
3
4
6 grog - guess options for groff command
7
9 grog [ -option ... ] [ files ... ]
10
12 grog reads files and guesses which of the groff(1) options -e, -man,
13 -me, -mm, -mom, -ms, -mdoc, -mdoc-old, -p, -R, -g, -G, -s, and -t are
14 required for printing files, and prints the groff command including
15 those options on the standard output. A filename of - is taken to
16 refer to the standard input. If no files are specified the standard
17 input will be read. Any specified options will be included in the
18 printed command. No space is allowed between options and their argu‐
19 ments. The only options recognized are -C (which is also passed on) to
20 enable compatibility mode, and -v to print the version number.
21
22 For example,
23
24 `grog -Tdvi paper.ms`
25
26 will guess the appropriate command to print paper.ms and then run it
27 after adding the -Tdvi option.
28
30 doctype(1), groff(1), troff(1), tbl(1), pic(1), eqn(1), refer(1),
31 grn(1), grap(1), soelim(1)
32
33
34
35Groff Version 1.18.1.4 06 June 2002 GROG(1)