s3: merge german pam_winbind message translations from master.
[Samba.git] / source / script / count_80_col.pl
blob8b226228c979127d164ca35e029f8f29403ad6a5
1 #!/usr/bin/perl -w
3 open( INFILE, "$ARGV[0]" ) || die $@;
5 $count = 0;
6 while ( <INFILE> ) {
7 next if ($_ =~ /^#define/);
8 $count++ if (length($_) > 80);
11 close( INFILE );
12 print "$ARGV[0]: $count lines > 80 characters\n" if ($count > 0);
14 exit( 0 );