summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorwl <wl>2012-12-28 14:48:01 +0000
committerwl <wl>2012-12-28 14:48:01 +0000
commit0dd255dd53a8f229b877bf193474eec7d7d4e9b4 (patch)
tree62d3652997aab014d5fa94d4359248257ef043d1 /doc
parent10387aa1482f70ef5286d5d69df37ea3aa0eab29 (diff)
downloadgroff-0dd255dd53a8f229b877bf193474eec7d7d4e9b4.tar.gz
* doc/fixinfo.sh: Make it work with makinfo 4.13 also.
Diffstat (limited to 'doc')
-rw-r--r--doc/fixinfo.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/fixinfo.sh b/doc/fixinfo.sh
index b5d91f52..2c853f8a 100644
--- a/doc/fixinfo.sh
+++ b/doc/fixinfo.sh
@@ -1,6 +1,7 @@
#! /bin/sh
#
-# Fix a problem with HTML output produced by makeinfo 4.8.
+# Fix a problem with HTML output produced by makeinfo
+# (tested with versions 4.8 and 4.13).
#
# groff.texinfo uses (after macro expansion) something like
#
@@ -31,8 +32,8 @@ cat $1 | sed '
:b
$b
N
-/^<blockquote>\n<p>.*\n\n \&mdash;/ {
- s/^<blockquote>\n<p>\(.*\n\)\n \&mdash;/\1\&mdash;/
+/^<blockquote>\n *<p>.*\n\n \&mdash;/ {
+ s/^<blockquote>\n *<p>\(.*\n\)\n \&mdash;/\1\&mdash;/
n
N
N