LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

grn

Groff preprocessor for Gremlin graphics

TLDR

Process gremlin file
$ grn [file.grn] | groff > output.ps
copy
Specify macro file
$ grn -M [macrodir] [file.grn]
copy
Compatible mode
$ grn -C [file.grn]
copy

SYNOPSIS

grn [options] [file]

DESCRIPTION

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.

PARAMETERS

FILE

Gremlin input file.
-M DIR
Macro directory.
-C
Compatible mode with older versions.
-F FILE
Font file.
--help
Display help information.

INSTALL

sudo apt install groff
copy
sudo dnf install groff
copy
sudo pacman -S groff
copy
sudo apk add groff
copy
sudo zypper install groff
copy
brew install groff
copy
nix profile install nixpkgs#groff
copy

CAVEATS

Part of groff suite. Gremlin format is largely obsolete. Limited to basic vector graphics.

HISTORY

grn was created at UC Berkeley for the Gremlin drawing program, later included in GNU groff for compatibility.

SEE ALSO

groff(1), pic(1), grap(1)

RESOURCES

Copied to clipboard
Kai