From 602cd676cd4ec95d1143aa6f2c39d661e95a2897 Mon Sep 17 00:00:00 2001 From: Ava Chow Date: Wed, 1 May 2024 17:02:36 -0400 Subject: buildtable.pl: Also check .md files (#1577) --- scripts/buildtable.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/buildtable.pl b/scripts/buildtable.pl index 292f1ee..4923a9e 100755 --- a/scripts/buildtable.pl +++ b/scripts/buildtable.pl @@ -96,6 +96,9 @@ my %emails; my $bipnum = 0; while (++$bipnum <= $topbip) { my $fn = sprintf "bip-%04d.mediawiki", $bipnum; + if (!-e $fn) { + $fn = sprintf "bip-%04d.md", $bipnum; + } -e $fn || next; open my $F, "<$fn"; while (<$F> !~ m[^(?:\xef\xbb\xbf)?
$]) {
-- 
cgit v1.2.3