convert.sed
... ...
@@ -22,6 +22,7 @@ s/^\(#\+\)\s\+[0-9.]\+\s\+/\1 /
22 22
/markferry.net\/pmwiki\/pmwiki/ s%http://markferry.net/pmwiki/pmwiki.php?n=%/%
23 23
# strip dead links
24 24
/\?/ s/\[\(\w\+\)\]\[[0-9]*\]\[?\]\[[0-9]*\]/\1/g
25
+s/\[\([^]]\+\)]\[[0-9]\+]\[?]\[[0-9]\+]/\1/g
25 26
26 27
# Convert page titles
27 28
1 {