Index of Section 1 Manual Pages
| Interix / SUA | line.1 | Interix / SUA |
line(1) line(1)
line
NAME
line - read a line of text
SYNOPSIS
line
DESCRIPTION
The line(1) utility reads one line of text from standard input and writes
it to standard output. It reads up to and including a newline; and always
writes at least a newline.
Historically, line(1) is used in shell scripts to read from the user's
terminal; the read(1) command is preferred.
DIAGNOSTICS
The line(1) command exits with status 0 on success and >0 if end-of-file
is found.
SEE ALSO
read(1)