LINE(C) UNIX System V
Name
line - reads one line
Syntax
line
Description
line copies one line (up to a newline) from the standard
input and writes it on the standard output. It returns an
exit code of 1 on end-of-file and always prints at least a
newline. It is often used within shell files to read from
the user's terminal.
See Also
gets(CP), sh(C)
Standards Conformance
line is conformant with:
AT&T SVID Issue 2, Select Code 307-127;
and The X/Open Portability Guide II of January 1987.
(printed 2/15/90) LINE(C)