#include /* fprintf(3), stderr, stdin, stdout */ #if !defined EX_OK || !defined EX_USAGE # include #endif int main(int argc, char *argv[]){ CHARACTER c; /* iterating over character stream */ if(argc > 1){ fprintf(stderr, "Usage: %s\n", argv[0]); return EX_USAGE; } while((c = GETC(stdin)) != ENDOFFILE) PUTC(ISVALID(c) ? CONV(c) : c, stdout); return EX_OK; }