Return to mm.c CVS log | Up to [local] / OpenXM / src / kan96xx / Kan |
1.1 ! maekawa 1: #include <stdio.h> ! 2: ! 3: main() { ! 4: int c; ! 5: printf("\" "); ! 6: while ((c=getchar()) != EOF) { ! 7: if (c == '%') { ! 8: while((c=getchar()) != EOF && (c != '\n')) ; ! 9: }else if (c != '\n') { ! 10: putchar(c); ! 11: }else{ ! 12: /*printf("\\\n");*/ ! 13: printf(" "); ! 14: } ! 15: } ! 16: /*printf(" \";");*/ ! 17: printf(" \";\n"); ! 18: return(0); ! 19: } ! 20: