summaryrefslogtreecommitdiff
path: root/scripts/historic/formatparasect
blob: 16694297bf966328c9bf4c693417e7a5f2e60b1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
s|
|\
\
|g
# all <para> to left margin on next line
s|^ *\(<para>.*\)|\
\1|
s|^ *\(</para>.*\)|\1|
# sect's on next line, appropriate indent
s|^ *\(</*sect1.*\)|\
 \1|
s|^ *\(</*sect2.*\)|\
  \1|
s|^ *\(</*sect3.*\)|\
   \1|
s|^ *\(</*sect4.*\)|\
    \1|