yes(1xnx)


yes -- (XENIX) print string repeatedly

Synopsis

   yes [string] 

Description

yes repeatedly outputs ``y'', or if a single string argument is given, string is output repeatedly. The command continues indefinitely unless aborted. yes 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 that it pipes to terminates so that no infinite loop occurs.
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.