LINE(1) — Silicon Graphics
NAME
line − read one line
SYNOPSIS
line
DESCRIPTION
Line copies one line (up to a new-line) 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 new-line. It is often used within shell files to read from the user’s terminal.
EXAMPLE
line
Hello world
will return
Hello world
In the Bourne shell (sh):
a=‘line‘
hi there
echo $a
will return
hi there
In the C-shell (csh):
set a=‘line‘
bye bye
echo $a
will return
bye bye
SEE ALSO
Version 2.5 — April 22, 1987