yes, from coreutils, is 91 lines long. Many of them are comments, but that is still WAY too long.
Edit from September 2019: the source file grew over the past five years and is now 126 lines long.
Write a program that imitates
- outputting to
stdoutan infinite stream of "y\n"'s
- there must be an option to stop it other than killing the process with
- you are not allowed to use "y" or "\n" or their ASCII values (121, 0x79, 0171, 10, 0xA or 012)
Shortest answer wins.
- subtract 10 from your code length, if you can receive a phrase in
stdinand print it out instead of "y" (but still including the line-break). The program doesn't have to print
yon an empty input.