Une collection de notes diverses sur des trucs et astuces pour faire des choses avec un ordinateur...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
262 B

/*
* no-op.c is an useless shell filter
*/
#include <stdio.h>
#include <ctype.h>
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;
}