mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
9f4876c586
(This used to be commit 3fc0bd3e54
)
16 lines
225 B
Perl
Executable File
16 lines
225 B
Perl
Executable File
#!/usr/bin/perl -w
|
|
|
|
open( INFILE, "$ARGV[0]" ) || die $@;
|
|
|
|
$count = 0;
|
|
while ( <INFILE> ) {
|
|
$count++ if (length($_) > 80);
|
|
}
|
|
|
|
close( INFILE );
|
|
print "$ARGV[0]: $count lines > 80 characters\n" if ($count > 0);
|
|
|
|
exit( 0 );
|
|
|
|
|