← 返回命令列表

Linux command

grn 命令

文件

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Process gremlin file

grn [file.grn] | groff > output.ps

Specify macro file

grn -M [macrodir] [file.grn]

Compatible mode

grn -C [file.grn]

说明

grn is a groff preprocessor for Gremlin graphics files. It converts Gremlin vector graphics format to groff commands for embedding line drawings and text in documents. The tool was originally developed for SunView and later adapted for groff. It handles line drawings, text labels, and other Gremlin primitives.

参数

-M _DIR_
Macro directory.
-C
Compatible mode with older versions.
-F _FILE_
Font file.
--help
Display help information.

FAQ

What is the grn command used for?

grn is a groff preprocessor for Gremlin graphics files. It converts Gremlin vector graphics format to groff commands for embedding line drawings and text in documents. The tool was originally developed for SunView and later adapted for groff. It handles line drawings, text labels, and other Gremlin primitives.

How do I run a basic grn example?

Run `grn [file.grn] | groff > output.ps` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -M _DIR_ do in grn?

Macro directory.