GSPESC(1) General Commands Manual GSPESC(1)

gspescescape text for GSP

gspesc [-a] [file ...]

gspesc -h

gspesc is a utility to escape metacharacters for safe inclusion in node text bodies in gsp(7) formatted documents. Files provided as command-line arguments are escaped with the results written to the standard output. If no arguments or the special filename ‘-’ is provided, then input will be read from the standard input.

The options are as follows:

Escape text for inclusion as a node attribute value instead of body text.
Display help information by opening this manual page.

The gspesc utility exits 0 on success, and >0 if an error occurs.

Escape the contents of a source code file for inclusion in a GSP text body:

$ gspesc main.c

gsp(1), sed(1), tr(1), gsp(7), gsp-macros(7)

Thomas Voss <mail@thomasvoss.com>

May 5, 2026 GSP 4.2