1
0
mirror of https://github.com/bitcoin/bips.git synced 2024-11-19 01:40:05 +01:00

buildtable.pl: Also check .md files (#1577)

This commit is contained in:
Ava Chow 2024-05-01 17:02:36 -04:00 committed by GitHub
parent 6fc75b1b21
commit 602cd676cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)?<pre>$]) {