Skip to content

Commit

Permalink
buildtable.pl: Also check .md files (#1577)
Browse files Browse the repository at this point in the history
  • Loading branch information
achow101 committed May 1, 2024
1 parent 6fc75b1 commit 602cd67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/buildtable.pl
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@
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)?<pre>$]) {
Expand Down

0 comments on commit 602cd67

Please sign in to comment.