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.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005