diff options
Diffstat (limited to 'strip.c')
-rw-r--r-- | strip.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +#include <stdio.h> + +int main(int argc, char **argv) +{ + int c; + while((c = getchar()) != EOF) + if(isdigit(c) || c == '\n') + putchar(c); +} |