line(1)


line -- read one line

Synopsis

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 EOF and always prints at least a newline. It is often used within shell files to read from the user's terminal.

The LC_CTYPE environment variable defines the processing of the codesets used in the input file. (See LANG in environ(5).0

References

read(2), sh(1)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004