]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Get rid of warnings from awk scripts.
authorAndres Mejia <amejia004@gmail.com>
Thu, 2 Feb 2012 00:03:13 +0000 (19:03 -0500)
committerAndres Mejia <amejia004@gmail.com>
Thu, 2 Feb 2012 00:03:13 +0000 (19:03 -0500)
SVN-Revision: 4222

doc/mdoc2man.awk
doc/mdoc2mediawiki.awk
doc/mdoc2wiki.awk

index c55b953ee60707269fdab9756261e7f4ae9c197c..726f628c0d3f1a002927b05b91af1cd785b525ff 100755 (executable)
@@ -377,9 +377,9 @@ function splitwords(l, dest, n, o, w) {
       # TODO: Figure out how to handle this
     } else if(match(words[w],"^[=]$")) {
       addpunct(words[w])
-    } else if(match(words[w],"^[\[{(]$")) {
+    } else if(match(words[w],"^[[{(]$")) {
       addopen(words[w])
-    } else if(match(words[w],"^[\\\])}.,;:]$")) {
+    } else if(match(words[w],"^[\\])}.,;:]$")) {
       addclose(words[w])
     } else {
       add(words[w])
index a0ecc167c0e79905c88d0b20856d59ecf72ab812..10c564a90e4718558172c9e98b011a67e425a7fb 100755 (executable)
@@ -426,9 +426,9 @@ function splitwords(l, dest, n, o, w) {
       }
     } else if(match(words[w],"^[=]$")) {
       addpunct(words[w])
-    } else if(match(words[w],"^[\[{(]$")) {
+    } else if(match(words[w],"^[[{(]$")) {
       addopen(words[w])
-    } else if(match(words[w],"^[\\\])}.,;:]$")) {
+    } else if(match(words[w],"^[\\])}.,;:]$")) {
       addclose(words[w])
     } else {
       sub("\\\\&", "", words[w])
index fcccd9b3a2b6e2bb28860cda604319031dbaf1d5..3c4d4116dbe9a86f471742df4f5142d222a2fc47 100755 (executable)
@@ -433,9 +433,9 @@ function splitwords(l, dest, n, o, w) {
       }
     } else if(match(words[w],"^[=]$")) {
       addpunct(words[w])
-    } else if(match(words[w],"^[\[{(]$")) {
+    } else if(match(words[w],"^[[{(]$")) {
       addopen(words[w])
-    } else if(match(words[w],"^[\\\])}.,;:]$")) {
+    } else if(match(words[w],"^[\\])}.,;:]$")) {
       addclose(words[w])
     } else {
       sub("\\\\&", "", words[w])