2 # This may appear arbitrary, but DO NOT CHANGE IT.
3 # Debhelper is supposed to consist of small, simple, easy to understand
4 # programs. Programs growing in size and complexity without bounds is a
8 my @progs=grep { -x $_ } glob("dh_*");
10 plan(tests => (@progs + @progs));
12 foreach my $file (@progs) {
15 open(IN, $file) || die "open: $!";
19 $cutting=0 if /^=cut/;
20 next if $cutting || /^(=|\s*\#)/;
22 $maxlength=length($_) if length($_) > $maxlength;
25 print "# $file has $lines lines, max length is $maxlength\n";