Manual pages › General commands (1)
yes-original(1)
Prints string repeatedly
From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.
With the coreutil package (with the extra set), see yes(1) instead.
NAME
yes - Prints string repeatedly
SYNOPSIS
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. 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.