Linux command
grog 命令
文件
Copy it and replace filenames, paths, or keywords as needed.
命令示例
Guess groff options
grog [file.roff]
Process and run groff
grog [file.roff] | sh
Show command without running
grog [file.roff]
Process multiple files
grog [file1.roff] [file2.roff]
说明
grog analyzes roff input files and suggests the appropriate groff command line. It detects which macro packages and preprocessors are needed by examining document content for macro usage. The tool outputs the complete groff command with correct options, which can be piped to a shell for execution.
参数
- -C
- Compatibility mode.
- --run
- Execute the suggested command.
- --warnings
- Enable warnings.
- --help
- Display help information.
FAQ
What is the grog command used for?
grog analyzes roff input files and suggests the appropriate groff command line. It detects which macro packages and preprocessors are needed by examining document content for macro usage. The tool outputs the complete groff command with correct options, which can be piped to a shell for execution.
How do I run a basic grog example?
Run `grog [file.roff]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -C do in grog?
Compatibility mode.