ladybird/Userland/yes.cpp

16 lines
219 B
C++
Raw Normal View History

#include <stdio.h>
int main(int argc, char** argv)
{
if (argc > 1) {
for (;;) {
puts(argv[1]);
}
} else {
for (;;) {
puts("yes");
}
}
return 0;
}