[med-svn] [phast] 01/03: Drop useless indented paragraphs
Andreas Tille
tille at debian.org
Wed Jun 8 14:08:45 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 aba07723fcc0267d098a8ede18e55deb2eea9cf1
Author: Andreas Tille <tille at debian.org>
Date: Wed Jun 8 15:40:58 2016 +0200
Drop useless indented paragraphs
---
debian/help2man_wrapper | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/help2man_wrapper b/debian/help2man_wrapper
index ccb1fce..d3ccf99 100755
--- a/debian/help2man_wrapper
+++ b/debian/help2man_wrapper
@@ -23,5 +23,8 @@ cat $tmpout | \
-e 's/^USAGE:[[:space:]]*/.SH SYNOPSIS\n/' | \
sed -e '/^\.PP/{;N;s/^\.PP\n\.SH/.SH/;}' \
-e '/^"$/d' |
- sed -e '/^\.SH DESCRIPTION/{;N;s/^\(\.SH DESCRIPTION\)\n\.TP/\1/;}'
+ sed -e '/^\.SH DESCRIPTION/{;N;s/^\(\.SH DESCRIPTION\)\n\.TP/\1/;}' \
+ -e '/^\.SH DESCRIPTION/,/^\.SH SYNOPSIS/{;N;s/\n\.IP//g;}' \
+ -e '/^\.SH DESCRIPTION/,/^\.SH SYNOPSIS/{;N;s/\n\.TP//g;}'
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