summaryrefslogtreecommitdiffstats
path: root/tools/clean-sat.c
blob: b1edb2010e2324f71dce7acaab14d865368d8d7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* clean-sat.c
 */

#include <stdio.h>

int
main(int argc, char **argv)
{
    int c;

    if( argc > 1 ) {
	fprintf(stderr, "no arguments, please\n");
	return 1;
    }

    while( (c=getchar()) == '\n' )
	;
    while( c != EOF ) {
	putchar(c);
	c = getchar();
    }

    return 0;
}