5 char *weboutfile = NULL;
8 void arguments( int argc, char *argv[] )
12 while( --argc > 0 && (*++argv)[0] == '-' )
14 while ( (c = *++argv[0]) )
20 fprintf( stderr, "inputfile = %s\n", inputfile );
25 fprintf( stderr, "weboutfile = %s\n", weboutfile );
29 fprintf( stderr, "illegal option %c\n", c );
39 fprintf( stderr, "options: Check source file !\n" );
45 int main( int argc, char *argv[] )
52 arguments( argc, argv );
56 infp = fopen( inputfile, "r" );
59 fprintf( stderr, "Cannot open %s\n", inputfile );
68 weboutfp = fopen( weboutfile, "w" );
71 fprintf( stderr, "Cannot open %s\n", weboutfile );
79 getnumlen_nogap_outallreg_web( infp, weboutfp, &nlenmin, &isaligned );
80 if( isaligned ) fprintf( stdout, "Aligned\n" );
81 else fprintf( stdout, "Not aligned\n" );
84 getnumlen_nogap_outallreg( infp, &nlenmin );