r25068: Older samba3 DCs will return DCERPC_FAULT_OP_RNG_ERROR for every opcode on the
[Samba.git] / source / script / count_80_col.pl
blobe1c8ff46a2d5140239b3bf7eab7a84ffd20af9a6
1 #!/usr/bin/perl -w
3 open( INFILE, "$ARGV[0]" ) || die $@;
5 $count = 0;
6 while ( <INFILE> ) {
7 $count++ if (length($_) > 80);
10 close( INFILE );
11 print "$ARGV[0]: $count lines > 80 characters\n" if ($count > 0);
13 exit( 0 );