Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ yes(C) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 yes(C)                          19 June 1992                          yes(C)


 Name

    yes - print string repeatedly

 Syntax

    yes [ string ]

 Description

    yes repeatedly outputs ``y'', or if a single string argument is given,
    arg is output repeatedly.  The command will continue indefinitely unless
    aborted.  This is useful in pipes to commands that prompt for input and
    require  a ``y'' response for a yes.  In this case, yes terminates when
    the command it pipes to terminates, so that no infinite loop occurs.


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