Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ line(C) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sh(C)


 line(C)                       06 January 1993                        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.

 Notes

    line(C) replaces the functionality of the command gets(C).

 See also

    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