Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ line(1) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

csh(1)

ksh(1)

sh(1)

read(2)




line(1) line(1)
NAME line - reads one line from the standard input SYNOPSIS line input ARGUMENTS input Specifies the standard input. Replace input with a line of text. 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. EXAMPLES If you enter: line Hello world this command will return: Hello world When using the Bourne shell (sh(1)), the command: a=`line` hi there echo $a will return: hi there In the C-shell (csh(1)), the command: set a=`line` bye bye echo $a will return: bye bye FILES /bin/line Executable file January 1992 1



line(1) line(1)
SEE ALSO csh(1), ksh(1), sh(1) read(2) in A/UX Programmer's Reference 2 January 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026