#! /usr/local/bin/ehtml
The <RUNIT> code under EHTML executes a given UNIX command or script, captures the standard output (the screen) and displays that text within your EHTML document.
The <RUNIT x> code does not require any special setup to be used. You merely embed the code within your EHTML document and substitute x for the appropriate UNIX command.
For those that are developing scripts for use with the <RUNIT x> code, however, the code provides a special indication of the context in which the script was called. If the script was invoked via the code, the environment variable EHTML_RUN will be set. This allows for scripts which are polymorphic, or able to change to match a given situation.