Skip to content

Commit

Permalink
Update mw2dw-conv_sed.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
escalate committed Mar 27, 2012
1 parent 74b805c commit 594dc48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mw2dw-conv_sed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ cat mediawiki10 \

# Images / Files
cat mediawiki11 \
| sed -r "s/\[\[([mM][eE][dD][iI][aA]|[bB][iI][lL][dD]|[iI][mM][aA][gG][eE]|[dD][aA][tT][eE][iI]|[fF][iI][lL][eE]):([^\|\S]*)\|?\S*\]\]/{{mediawiki:\2}}/g" \
| sed -r "s/\[\[([mM][eE][dD][iI][aA]|[mM][eE][dD][iI][uU][mM]|[bB][iI][lL][dD]|[iI][mM][aA][gG][eE]|[dD][aA][tT][eE][iI]|[fF][iI][lL][eE]):([^\|\S]*)\|?\S*\]\]/{{mediawiki:\2}}/g" \
> mediawiki12

cat mediawiki11 > dokuwiki
Expand Down

0 comments on commit 594dc48

Please sign in to comment.