This commit is contained in:
2025-11-25 00:28:51 +08:00
commit eb3f16c30e
406 changed files with 91653 additions and 0 deletions
@@ -0,0 +1,25 @@
#!/usr/bin/env perl
use strict;
use warnings;
while (<>) {
my $filename = $_;
chomp $filename;
my $count = 0;
open (my $fh, $filename) or die "Error, cannot open file $filename";
while (<$fh>) {
if (/^>/) {
$count++;
}
}
print "$count\t$filename\n";
close $fh;
}
exit(0);