2008-06-18 Marcus Brinkmann <marcus@g10code.de>
[gnupg.git] / tools / clean-sat.c
blob8b6bfd77a5fe2ce97469ef6331a633a2f6c24926
1 /* clean-sat.c
2 * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
4 * This file is free software; as a special exception the author gives
5 * unlimited permission to copy and/or distribute it, with or without
6 * modifications, as long as this notice is preserved.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
10 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 #include <stdio.h>
15 int
16 main(int argc, char **argv)
18 int c;
20 if( argc > 1 ) {
21 fprintf(stderr, "no arguments, please\n");
22 return 1;
25 while( (c=getchar()) == '\n' )
27 while( c != EOF ) {
28 putchar(c);
29 c = getchar();
32 return 0;