mirror of
https://github.com/uselessd/alcove.git
synced 2026-04-15 17:25:33 +00:00
The OpenBSD version of the yes utility doesn't check for write errors:
if (argc > 1)
for (;;)
puts(argv[1]);
else
for (;;)
puts("y");
When the stream test completes, yes is still running in the background.
On OpenBSD, use the jot utility instead.