#include #include #define LF 10 #define CR 13 #define SPACE 32 #define ESC 27 main() { char c; while ((c = getchar()) != EOF) { if (c == ESC) { c = getchar(); /* jump over the escape char */ c = getchar(); /* jump over the escape char */ } if ((c == CR) || (c == LF) || ((c >= SPACE) && (c <= 126))) putchar(c); if (c == CR || c == LF) putchar('\n'); } }