]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Replace \e with plain \
authorTim Kientzle <kientzle@acm.org>
Sat, 21 Jun 2014 21:15:37 +0000 (14:15 -0700)
committerTim Kientzle <kientzle@acm.org>
Sat, 21 Jun 2014 21:15:37 +0000 (14:15 -0700)
doc/mdoc2wiki.awk

index 3a336028945461db3c875d0e8eaa2175d54e2910..eb89ba09028bc9833ceba47856f458a5d563968b 100755 (executable)
@@ -184,6 +184,7 @@ function splitwords(l, dest, n, o, w) {
 /^\.\\"/ { next }
 
 {
+  gsub("\\\\e", "\\")
   sub("^\\.","")
   nwords=splitwords($0, words)
   # TODO: Instead of iterating 'w' over the array, have a separate