Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ true(C) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

false(C)

sh(C)


 true(C)                         19 June 1992                         true(C)


 Name

    true - return with a zero exit value

 Syntax

    true

 Description

    true does nothing except return with a zero exit value.  false(C), true's
    counterpart, does nothing except return with a nonzero exit value.  true
    is typically used in shell procedures such as:

       while true
       do
               command
       done


 See also

    false(C), sh(C)

 Diagnostics

    true has exit status zero.

 Standards conformance

    true is conformant with:

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


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