diff --git a/Userland/yes.cpp b/Userland/yes.cpp new file mode 100644 index 0000000000..b9d3ed725b --- /dev/null +++ b/Userland/yes.cpp @@ -0,0 +1,15 @@ +#include + +int main(int argc, char** argv) +{ + if (argc > 1) { + for (;;) { + puts(argv[1]); + } + } else { + for (;;) { + puts("yes"); + } + } + return 0; +}