Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ line(C) — OpenDesktop 2.0.0a

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gets(CP)

sh(C)


 line(C)                         19 June 1992                         line(C)


 Name

    line - read one line

 Syntax

    line

 Description

    The line command 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 end-of-file and always prints at least a new line.  It is often used
    within shell files to read from the user's terminal.

 See also

    gets(CP), sh(C)

 Standards conformance

    line is conformant with:

    AT&T SVID Issue 2;
    and X/Open Portability Guide, Issue 3, 1989.


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