ul - do underlining
ul [-t terminal] [-i] [name ...]
ul reads the named files (or standard input if none are given) and
translates occurrences of underscores to the sequence which indicates
underlining for the terminal in use, as specified by the environment
variable TERM. The -t option overrides the terminal type specified in
the environment. The terminfo(4) file corresponding to TERM is read
to determine the appropriate sequences for underlining. If the
terminal is incapable of underlining, but is capable of a standout
mode, the standout mode is used instead. If the terminal can
overstrike, or handles underlining automatically, ul degenerates to
cat. If the terminal cannot underline, underlining is ignored.
The -i option causes ul to indicate underlining onto by a separate
line containing appropriate dashes -; this is useful when you want to
look at the underlining present in an nroff output stream on a CRT
nroff usually outputs a series of backspaces and underlines intermixed
with the text to indicate underlining. No attempt is made to optimize
the backward motion.
International Code Set Support
Single- and multi-byte character code sets are supported with the
exception that multi-byte-character file names are not supported.
/usr/share/lib/terminfo/?/* terminal capability files
ul was developed by the University of California, Berkeley.
col(1), man(1), nroff(1).
Hewlett-Packard Company - 1 - HP-UX Release 11i: November 2000