aboutsummaryrefslogtreecommitdiff
path: root/install-win32/u2d.c
blob: bf1f5e8930a0f471cb03beffee265a4ebe172b8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <stdio.h>

int
main (int argc, char *argv[])
{
  int c;
  int enable = 1;

  while ((c = getchar()) != EOF)
    {
#if 0
      if (c == '\r')
	enable = 0;
      if (enable && c == '\n')
	putchar ('\r');
#endif
      putchar (c);
    }
  return 0;
}