From 054dbf6d7e0f65b0d528716a5f9b3ca197f3a5b1 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 5 Apr 2015 01:14:36 +0000 Subject: Deal with backslash git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2449 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- buildtools/makeman | 1 + doc/HISTORY | 3 +++ 2 files changed, 4 insertions(+) diff --git a/buildtools/makeman b/buildtools/makeman index 100ad580..bcc65cff 100755 --- a/buildtools/makeman +++ b/buildtools/makeman @@ -210,6 +210,7 @@ def makeman(name, file, indoc): # Special characters indoc = indoc.replace(""", "'") indoc = indoc.replace(" ", "\\ ") + indoc = indoc.replace("\", "\\\\") # Tables indoc = re.sub(' *]*>.*', ".TS", indoc) indoc = re.sub(" *.*", ".TE", indoc) diff --git a/doc/HISTORY b/doc/HISTORY index 50394aac..a9daac86 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -6,6 +6,9 @@ CHANGE HISTORY not yet BJH Release 10.71.00 + makeman: deal properly with backlash in source. Thanks Willem + van Schaik . + 15.03.29 BJH Release 10.70.00 Add st4topgm, pgmtost4. -- cgit 1.4.1