aboutsummaryrefslogtreecommitdiff
path: root/misc/sed/twiki-to-tiki.sed
blob: d0fe2f597dae9b0a345301876203936ccc73d9f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sed -f
#
# twiki-to-tiki.sed: formatting conversion
# feedback: rhatto@riseup.net
#

s/^   \*/\*/
s/---+++/\!\!\!/
s/---++/\!\!\!/
s/---+/\!/
s/\*\([A-Za-z0-9]*\)\*/__\1__/g
s/<verbatim>/~pp\~/g
s/<\/verbatim>/~\/pp\~/g
s/%TOC%/{maketoc}/