1UL(1)                            User Commands                           UL(1)
2
3
4

NAME

6       ul - do underlining
7

SYNOPSIS

9       ul [options] [file...]
10

DESCRIPTION

12       ul reads the named files (or standard input if none are given) and
13       translates occurrences of underscores to the sequence which indicates
14       underlining for the terminal in use, as specified by the environment
15       variable TERM. The terminfo database is read to determine the
16       appropriate sequences for underlining. If the terminal is incapable of
17       underlining but is capable of a standout mode, then that is used
18       instead. If the terminal can overstrike, or handles underlining
19       automatically, ul degenerates to cat(1). If the terminal cannot
20       underline, underlining is ignored.
21

OPTIONS

23       -i, --indicated
24           Underlining is indicated by a separate line containing appropriate
25           dashes `-'; this is useful when you want to look at the underlining
26           which is present in an nroff output stream on a crt-terminal.
27
28       -t, -T, --terminal terminal
29           Override the environment variable TERM with the specified terminal
30           type.
31
32       -h, --help
33           Display help text and exit.
34
35       -V, --version
36           Print version and exit.
37

ENVIRONMENT

39       The following environment variable is used:
40
41       TERM
42           The TERM variable is used to relate a tty device with its device
43           capability description (see terminfo(5)). TERM is set at login
44           time, either by the default terminal type specified in /etc/ttys or
45           as set during the login process by the user in their login file
46           (see setenv(3)).
47

HISTORY

49       The ul command appeared in 3.0BSD.
50

BUGS

52       nroff usually outputs a series of backspaces and underlines intermixed
53       with the text to indicate underlining. No attempt is made to optimize
54       the backward motion.
55

SEE ALSO

57       colcrt(1), login(1), man(1), nroff(1), setenv(3), terminfo(5)
58

REPORTING BUGS

60       For bug reports, use the issue tracker at
61       https://github.com/util-linux/util-linux/issues.
62

AVAILABILITY

64       The ul command is part of the util-linux package which can be
65       downloaded from Linux Kernel Archive
66       <https://www.kernel.org/pub/linux/utils/util-linux/>.
67
68
69
70util-linux 2.38                   2022-02-17                             UL(1)
Impressum