// replaces escaped newlines, backslashes and backspaces with their literal counterparts // NOTE: this program is NOT working! #include int main() { int c; while ((c = getchar()) != EOF) { if (c == '\t') printf("\t"); else if (c == '\b') printf("\b"); else if (c == '\\') printf("\\"); else putchar(c); } }