Annotation of OpenXM/src/kan96xx/Kan/mm.c, Revision 1.4
1.4 ! takayama 1: /* $OpenXM: OpenXM/src/kan96xx/Kan/mm.c,v 1.3 2004/07/02 06:41:53 noro Exp $ */
1.1 maekawa 2: #include <stdio.h>
3:
1.4 ! takayama 4: int main() {
1.1 maekawa 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>