]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Remove \& from the output.
authorTim Kientzle <kientzle@gmail.com>
Mon, 13 Apr 2009 21:47:21 +0000 (17:47 -0400)
committerTim Kientzle <kientzle@gmail.com>
Mon, 13 Apr 2009 21:47:21 +0000 (17:47 -0400)
SVN-Revision: 983

doc/mdoc2wiki.awk

index e30c20501588cffc96d93fce177eb423e79f787c..54a97903c7efc14ca84b1653eab265e2c1cbc20d 100755 (executable)
@@ -437,6 +437,7 @@ function splitwords(l, dest, n, o, w) {
     } else if(match(words[w],"^[\\\])}.,;:]$")) {
       addclose(words[w])
     } else {
+      sub("\\\\&", "", words[w])
       add(words[w])
     }
   }