# # # add_file "wiki/moin2mdwn.sed" # content [a743ebd62fb66765c90dcc3684302c979390052b] # # patch "wiki/ikiwikimigration.mdwn" # from [6b3347710d871a4e31cc79649c486d3ba2fe26eb] # to [fb956921940e6e928b33c62ac3a48fcb3a6a41cf] # ============================================================ --- wiki/moin2mdwn.sed a743ebd62fb66765c90dcc3684302c979390052b +++ wiki/moin2mdwn.sed a743ebd62fb66765c90dcc3684302c979390052b @@ -0,0 +1,9 @@ +1i\ +[[tag migration-wip]]\ +\ + +s/^=== (.*) ===/### \1/ +s/^== (.*) ==/## \1/ +s/^= (.*) =/# \1/ +s/'''([^']+)'''/**\1**/g +s/''([^']+)''/*\1*/g ============================================================ --- wiki/ikiwikimigration.mdwn 6b3347710d871a4e31cc79649c486d3ba2fe26eb +++ wiki/ikiwikimigration.mdwn fb956921940e6e928b33c62ac3a48fcb3a6a41cf @@ -10,10 +10,14 @@ 2. rename the file and begin the process 2. rename the file and begin the process of migrating the markup - mtn mv ZipperMerge.moin ZipperMerge.mdwn + sed -Ef moin2mdwn.sed ZipperMerge.mdwn + mtn mv --bookkeep-only ZipperMerge.moin ZipperMerge.mdwn + rm ZipperMerge.moin - start by adding `\[[tag migration-wip]]` at the top of the file. - This tags the page as one being worked on, but not yet finished. + (sed's -E option is -r on Linux) + this will automatically add `\[[tag migration-wip]]` at the top + of the file, tagging the page as one being worked on, but not yet + finished, and convert emphasis notations. Commit and push this rev, so others can see you're working on this file, and can pick another to start next in parallel.