LINE(1) — HP-UX
NAME
line − read one line from user input
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.
EXAMPLES
The following lines in a shell script prompt for a file name and display information about the file.:
echo ’Enter file name: \c’
reply=‘line‘
ls −l $reply
SEE ALSO
INTERNATIONAL SUPPORT
8- and 16-bit data.
Hewlett-Packard Company — May 11, 2021