home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD2.mdf
/
c
/
library
/
dos
/
diverses
/
cc
/
cc02
/
ccstrip.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
|
1985-08-28
|
233 b
|
14 lines
/* ccstrip: strip non-graphic characters */
#include <stdio.h>
main()
{
int c;
while ((c = getchar()) != EOF)
if ((c >= ' ' && c < '\177') || c == '\t' || c == '\n')
putchar(c);
exit(0);
}