YES(1) — Unix Programmer’s Manual
NAME
yes − print text repeatedly
SYNOPSIS
yes [ text ]
DESCRIPTION
Yes repeatedly outputs “y”. If you type yes and some text on the command line, yes repeats the text ad infinitum. Termination is by rubout.
EXAMPLE
yes "This is a test." outputs:
This is a test.
This is a test.
This is a test.
This is a test.
and so on until you type rubout.
4th Berkeley Distribution — April 29, 1985