summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2008-05-27 14:56:46 +0200
committerJoel Andres Granados <jgranado@redhat.com>2008-05-27 14:57:12 +0200
commit0e24089796393e79569b4e1b18d8bd4571dd40cf (patch)
treeef12f7f3f0b65b47df28bf478db5f3a8a19c4345 /doc
parent158b545b5b2a343d92a46e2a4498d2195f6852ba (diff)
downloadfirstaidkit-0e24089796393e79569b4e1b18d8bd4571dd40cf.tar.gz
firstaidkit-0e24089796393e79569b4e1b18d8bd4571dd40cf.tar.xz
firstaidkit-0e24089796393e79569b4e1b18d8bd4571dd40cf.zip
Add a special case for the .SH tag that contains NAME
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/man2wiki1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/man2wiki b/doc/man2wiki
index cc7030b..8a7d627 100755
--- a/doc/man2wiki
+++ b/doc/man2wiki
@@ -17,6 +17,7 @@ CHANGE_FILES="$DEFAULT_CHANGE_FILES $*"
for file in $CHANGE_FILES ; do
sed \
+ -e "s/\(^\.SH[ \t]*\"\)\([ \t^\"]*NAME[ \t^\"]*\)\(\"[ \t]*\)\(.*\)/= \4 =/" \
-e "s/\(^\.SH[ \t]*\"\)\([^\"]*\)\(\"[ \t]*\)\(.*\)/= \2 \4 =/" \
-e "s/\(^\.IP[ \t]*\"\)\([^\"]*\)\(\".*\)/[[BR]]'''\2'''[[BR]]/" \
-e "s/^\.br.*/[[BR]]/" \