yes - generate repetitive affirmative output
The yes utility repeatedly outputs y, or if term is specified, term is output repeatedly. In the output, either y or term is followed by a NEWLINE. Multiple arguments are output separated by spaces and followed by a NEWLINE. To terminate yes, issue an interrupt character.
yes can be used to respond programatically to programs that require an interactive response.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE Availability SUNWesu
|SunOS 5.11||yes (1)||20 Dec 2006|