commit:     634ceaf6023ed755a36df8011da29dcd06737aa7
Author:     Swagtoy <me <AT> ow <DOT> swag <DOT> toys>
AuthorDate: Tue Oct 21 02:50:43 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Oct 22 16:04:23 2025 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=634ceaf6

bin/gen-eclass-html.sh: Work around man2html not converting the tilde character

Seen in ebuild(5).

Signed-off-by: Swagtoy <me <AT> ow.swag.toys>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 bin/gen-eclass-html.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/gen-eclass-html.sh b/bin/gen-eclass-html.sh
index 4dacfa4..cef0305 100755
--- a/bin/gen-eclass-html.sh
+++ b/bin/gen-eclass-html.sh
@@ -157,6 +157,7 @@ for i in "${MANPAGES[@]}"; do
                -e 's:<A HREF="[^"]*//localhost/[^"]*">\([^<>]*\)</A>:\1:g' \
                -e 's:<A HREF="[^"]*\${[^"]*">\([^<>]*\)</A>:\1:g' \
                -e 's,<A HREF="mailto:[^"]*";>\([^<>]*\)</A>,\1,g' \
+               -e 's:\[ti\]:~:g' \
                -e 's:<TT>\([^<>]*\)</TT>:\1:g' \
                -e 's:<DL COMPACT>:<DL>:g' \
                -e 's:<TR VALIGN=top>:<TR>:g' \

Reply via email to