[med-svn] [phast] 01/02: Better mangling of Description paragraph
Andreas Tille
tille at debian.org
Tue Jun 7 21:16:44 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository phast.
commit 3abe19212c3299c538e531409de8e8b324189f73
Author: Andreas Tille <tille at debian.org>
Date: Tue Jun 7 22:24:18 2016 +0200
Better mangling of Description paragraph
---
debian/help2man_wrapper | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/help2man_wrapper b/debian/help2man_wrapper
index b8fc5a0..a1756a0 100755
--- a/debian/help2man_wrapper
+++ b/debian/help2man_wrapper
@@ -16,5 +16,8 @@ cat $tmpout | \
sed -e 's?USAGE: ../bin/?.SH USAGE\n?' \
-e 's?../bin/??' \
-e '/^\.SH DESCRIPTION/{;N;N;N;N;s/\(.SH DESCRIPTION\n\).*DESCRIPTION:[[:space:]]*/\1/;}' \
- -e 's/.SS "OPTIONS:"/.SH OPTIONS/'
+ -e 's/.SS "OPTIONS:"/.SH OPTIONS/' \
+ -e 's/^OPTIONS:/.SH OPTIONS/' \
+ -e '/^.SH DESCRIPTION/{;N;s/^.SH DESCRIPTION\nPROGRAM: .*\n//;}' \
+ -e 's/^DESCRIPTION:/.SH DESCRIPTION/'
rm $tmpout
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/phast.git
More information about the debian-med-commit
mailing list