home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / beehive / compress / unsitcpm.lbr / MAC2CPM.C < prev    next >
Text File  |  1990-07-01  |  256b  |  16 lines

  1. #include <stdio.h>
  2.  
  3. #define CR 0x0d
  4. #define LF 0x0a
  5.  
  6. main()
  7. {
  8.     int c;
  9.  
  10.     while ((c = getc(stdin)) != EOF){
  11.         putc(c,stdout);
  12.         if (c == CR)
  13.             putc(LF,stdout);
  14.     }
  15. }
  16.