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

NAME

6       line - read one line
7

SYNOPSIS

9       line
10
11

DESCRIPTION

13       The  line utility copies one line (up to and including a new-line) from
14       the standard input and writes it on the standard output. It returns  an
15       exit  status  of  1 on EOF and always prints at least a new-line. It is
16       often used within shell files to read from the user's terminal.
17

EXIT STATUS

19       Exit status is:
20
21       0     Successful completion
22
23
24       >0    End-of-file on input.
25
26

ATTRIBUTES

28       See attributes(5) for descriptions of the following attributes:
29
30
31
32
33       ┌─────────────────────────────┬─────────────────────────────┐
34       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
35       ├─────────────────────────────┼─────────────────────────────┤
36       │Availability                 │SUNWcsu                      │
37       └─────────────────────────────┴─────────────────────────────┘
38

SEE ALSO

40       sh(1), read(2), attributes(5)
41
42
43
44SunOS 5.11                        1 Feb 1995                           line(1)
Impressum