4f1d0df755
The previous code was too difficult to decipher for such a simple tool. Since yes(1) is not specified in any standard and several well-known implementations only support a single argument, do the same here. Thanks to everyone who offered implementation suggestions in the hackers@suckless.org email thread.
15 lines
183 B
Groff
15 lines
183 B
Groff
.Dd 2015-10-08
|
|
.Dt YES 1
|
|
.Os sbase
|
|
.Sh NAME
|
|
.Nm yes
|
|
.Nd output string repeatedly
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Op Ar string
|
|
.Sh DESCRIPTION
|
|
.Nm
|
|
will repeatedly write 'y' or
|
|
.Ar string
|
|
to stdout.
|