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

File: [local] / OpenXM / src / kan96xx / Kan / mm.c (download)

Revision 1.2, Sun Jan 16 07:55:39 2000 UTC (24 years, 4 months ago) by takayama
Branch: MAIN
CVS Tags: maekawa-ipv6, RELEASE_20000124, RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX, RELEASE_1_2_2, RELEASE_1_2_1, RELEASE_1_1_3, RELEASE_1_1_2
Changes since 1.1: +1 -0 lines

Congratulation of sm1 version 3.* !

/* $OpenXM: OpenXM/src/kan96xx/Kan/mm.c,v 1.2 2000/01/16 07:55:39 takayama Exp $ */
#include <stdio.h>

main() {
  int c;
  printf("\" ");
  while ((c=getchar()) != EOF) {
    if (c == '%') {
      while((c=getchar()) != EOF && (c != '\n')) ;
    }else if (c != '\n') {
      putchar(c);
    }else{
      /*printf("\\\n");*/
      printf(" ");
    }
  }
  /*printf(" \";");*/
  printf(" \";\n");
  return(0);
}