/* purify.c -- filter stdin replacing any characters with ASCII code > 127 by surrounding them with "<<" and ">>". This code is dedicated to George Frederic Handel HWV 56, Mvt. 7 RJBotting Started: Wed Dec 20 08:40:24 PST 2006 Based on impure.c */ #include #define DEL 127 main(int argc, char *argv[]) { int c; if(1!=argc){ fprintf(stderr,"Usage: impure DEL){ printf("<<%c>>", (char)c); }else{ putchar((char)c); } }/*while*/ exit(0); }