home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
unix
/
volume22
/
auth-utils
/
part01
/
util
/
delcr.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1990-04-29
|
206 b
|
18 lines
/* delcr.c version 1.0, 4/20/90. */
#include <stdio.h>
main()
{
int ch;
while ((ch = getchar()) != EOF)
{
if (ch != '\r')
putchar(ch);
if (ch == '\n')
fflush(stdout);
}
exit(0);
}