Output a string repeatedly until killed.
Synopsis
yes [STRING]
Description
Repeatedly output a line with STRING, or 'y' by default. Runs in the just-bash WASM shell inside SLICC.
Examples
$ yes | head -5
Print 'y' five times.
$ yes "hello" | head -3
Print 'hello' three times.
Notes
Continues until the output pipe is closed or the process is terminated.
See Also
true, echo, seq