File: formatparasect

package info (click to toggle)
installation-guide 20070319
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 29,356 kB
  • ctags: 53
  • sloc: xml: 184,383; sh: 1,023; perl: 403; awk: 200; makefile: 65
file content (16 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (12)
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|