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

NAME

6       ul - do underlining
7

SYNOPSIS

9       ul [-i] [-t terminal] [filename]...
10
11

DESCRIPTION

13       ul  reads the named filenames (or the standard input if none are given)
14       and translates occurrences of underscores to the sequence  which  indi‐
15       cates underlining for the terminal in use, as specified by the environ‐
16       ment variable  TERM.  ul  uses  the  /usr/share/lib/terminfo  entry  to
17       determine the appropriate sequences for underlining. If the terminal is
18       incapable of underlining, but is capable of a standout mode  then  that
19       is used instead. If the terminal can overstrike, or handles underlining
20       automatically, ul degenerates to cat(1). If the terminal cannot  under‐
21       line, underlining is ignored.
22

OPTIONS

24       -t terminal    Override the terminal kind specified in the environment.
25                      If  the  terminal  cannot  underline,   underlining   is
26                      ignored. If the terminal name is not found, no underlin‐
27                      ing is attempted.
28
29
30       -i             Indicate  underlining  by  a  separate  line  containing
31                      appropriate  dashes `'; this is useful when you want to
32                      look at the underlining which is present in an  nroff(1)
33                      output stream on a CRT-terminal.
34
35

RETURN VALUES

37       ul returns exit code 1 if the file specified is not found.
38

FILES

40       /usr/share/lib/terminfo/*
41
42

ATTRIBUTES

44       See attributes(5) for descriptions of the following attributes:
45
46
47
48
49       ┌─────────────────────────────┬─────────────────────────────┐
50       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
51       ├─────────────────────────────┼─────────────────────────────┤
52       │Availability                 │SUNWdoc                      │
53       └─────────────────────────────┴─────────────────────────────┘
54

SEE ALSO

56       cat(1), man(1), nroff(1), attributes(5)
57

BUGS

59       nroff  usually  generates  a series of backspaces and underlines inter‐
60       mixed with the text to indicate underlining. ul makes attempt to  opti‐
61       mize the backward motion.
62
63
64
65SunOS 5.11                        17 Mar 1994                            ul(1)
Impressum