ul(1) ul(1)
NAME
ul - do underlining
SYNOPSIS
ul [-t terminal] [name ...]
DESCRIPTION
ul reads the named files (or standard input if none are
given) and translates occurrences of underscores to the
sequence which indicates underlining. If -t is present,
terminal is used as the terminal kind. Otherwise, first the
environment is searched, and if necessary, /usr/lib/terminfo
is read to determine the appropriate sequences for
underlining. If none of the fields us, ue, or uc are
present, and if so and se are present, standout mode is used
to indicate underlining. If the terminal can overstrike, or
handles underlining automatically, ul behaves like cat(1).
If the terminal cannot underline, underlining is ignored.
EXAMPLE
ul file1
displays file1 on the terminal with underlined portions of
the file either underlined, or in reverse video when this
flag option is supported for the terminal.
FILES
/usr/bin/ul
/bin/cat
concatenate and print
/usr/lib/terminfo
terminal capability data base
SEE ALSO
man(1), nroff(1).
BUGS
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.
Page 1 (last mod. 1/16/87)