summaryrefslogtreecommitdiff
path: root/Userland/yes.cpp
blob: b9d3ed725b90a3f25052b469620a3326baec50f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>

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