DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

yes(C)


yes -- print string repeatedly

Syntax

yes [ string ]

Description

yes repeatedly outputs ``y''. If a single argument string is given, yes outputs this repeatedly instead. 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.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003