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

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid