diff --git a/code/no-op.c b/code/no-op.c new file mode 100644 index 0000000..f71df1d --- /dev/null +++ b/code/no-op.c @@ -0,0 +1,18 @@ +/* + * no-op.c is an useless shell filter + */ +#include +#include + +int main(int argc, char *argv[]) +{ +int quux, baz; + +while (EOF != (quux=getchar())) { + baz = toupper(quux); + if ('O'==baz || 'P'==baz) continue; + putchar(quux); + } + +return 0; +}