[BACK]Return to mm.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / Kan

Annotation of OpenXM/src/kan96xx/Kan/mm.c, Revision 1.2

1.2     ! takayama    1: /* $OpenXM$ */
1.1       maekawa     2: #include <stdio.h>
                      3:
                      4: main() {
                      5:   int c;
                      6:   printf("\" ");
                      7:   while ((c=getchar()) != EOF) {
                      8:     if (c == '%') {
                      9:       while((c=getchar()) != EOF && (c != '\n')) ;
                     10:     }else if (c != '\n') {
                     11:       putchar(c);
                     12:     }else{
                     13:       /*printf("\\\n");*/
                     14:       printf(" ");
                     15:     }
                     16:   }
                     17:   /*printf(" \";");*/
                     18:   printf(" \";\n");
                     19:   return(0);
                     20: }
                     21:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>