[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.3

1.3     ! noro        1: /* $OpenXM: OpenXM/src/kan96xx/Kan/mm.c,v 1.2 2000/01/16 07:55:39 takayama Exp $ */
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')) ;
1.3     ! noro       10:     }else if (c != '\n' && c != '\r') {
1.1       maekawa    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>