2 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 * See the copyright notice in the ACK home directory, in the file "Copyright".
6 static char rcsid[]= "$Id: main.c,v 0.6 1994/06/24 10:37:46 ceriel Exp $";
15 main(argc,argv) char **argv; {
18 extern int tabledebug;
23 while (argc >1 && argv[1][0]=='-') {
35 error("Unknown flag -%c",argv[1][1]);
40 if (freopen(argv[1],"r",stdin)==NULL) {
41 error("Can't open %s",argv[1]);
49 error("Usage: %s [-c] [-d] [-v] [table]",argv[0]);
63 exit(nerrors==0 ? 0 : -1);