about summary refs log tree commit diff
path: root/buildtools
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-04-05 01:14:36 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-04-05 01:14:36 +0000
commit054dbf6d7e0f65b0d528716a5f9b3ca197f3a5b1 (patch)
tree496f632f0f22e7b73569903530d9a35926a17667 /buildtools
parent3a6c162f56d9ca9df350bda2ffc003f6777ec4c1 (diff)
downloadnetpbm-mirror-054dbf6d7e0f65b0d528716a5f9b3ca197f3a5b1.tar.gz
netpbm-mirror-054dbf6d7e0f65b0d528716a5f9b3ca197f3a5b1.tar.xz
netpbm-mirror-054dbf6d7e0f65b0d528716a5f9b3ca197f3a5b1.zip
Deal with backslash
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2449 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'buildtools')
-rwxr-xr-xbuildtools/makeman1
1 files changed, 1 insertions, 0 deletions
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("&quot;", "'")
     indoc = indoc.replace("&nbsp;", "\\ ")
+    indoc = indoc.replace("\", "\\\\")
     # Tables
     indoc = re.sub(' *<table[^>]*>.*', ".TS", indoc)
     indoc = re.sub(" *</table>.*", ".TE", indoc)