3 This program simply ignires first line, or if argc == 2, first
4 lines specified by argv[1].
6 I am not responsible for any damages, GNU copyright applies.
13 const char * Usage = "Usage: %s [number-of-lines]\n";
17 int main( int argc, char **argv )
21 if( argc == 1 ) first = 1;
22 else if( argc == 2 ) {
23 if( (first = atoi( argv[1] ) ) <= 0 ) {
24 fprintf( stderr, Usage, argv[0] );
28 fprintf( stderr, Usage, argv[0] );
32 while( fgets( buf, sizeof( buf ), stdin ) ) {