/* Copyright 1989, 1990 by James Aspnes, David Applegate, and Bennet Yee */ /* See the file COPYING for distribution information */ #include <stdio.h> /* Sends stdin to stdout, replacing blank lines with '\n' */ /* and all other newlines with tabs */ main() { int c; while((c = getchar()) != EOF) { if(c == '\n') { putchar('\t'); if((c = getchar()) == EOF) break; putchar(c); } else { putchar(c); } } putchar('\n'); exit(0); }