- switch(d = getc(ifp)){ /* check to see if LF follows */
- case LF:
- putc(d,ofp); /* if so, ignore CR */
- break;
- default:
- putc(c,ofp); /* if not, output CR and following char */
- putc(d,ofp);
- } else putc(c, ofp); /* c is not a CR */
+ {
+ switch(d = getc(ifp))
+ { /* check to see if LF follows */
+ case LF:
+ putc(d,ofp); /* if so, ignore CR */
+ break;
+ default:
+ putc(c,ofp); /* if not, output CR and following char */
+ putc(d,ofp);
+ }
+ }
+ else
+ putc(c, ofp); /* c is not a CR */