Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ line(1) — A/UX 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

csh(1)

ksh(1)

sh(1)

read(2)




line(1) line(1)
NAME line - read one line SYNOPSIS line DESCRIPTION line copies one line (up to a newline) from the standard in- put 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 line Hello world will return Hello world In the Bourne shell (sh(1)): a=`line` hi there echo $a will return hi there In the C-shell (csh(1)): set a=`line` bye bye echo $a will return bye bye FILES /bin/line SEE ALSO csh(1), ksh(1), sh(1), read(2). April, 1990 1

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