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