]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix spacing from .Xr directives for mediawiki pages.
authorAndres Mejia <amejia004@gmail.com>
Thu, 2 Feb 2012 00:34:02 +0000 (19:34 -0500)
committerAndres Mejia <amejia004@gmail.com>
Thu, 2 Feb 2012 00:34:02 +0000 (19:34 -0500)
SVN-Revision: 4224

doc/mdoc2mediawiki.awk

index cf3a551b7fb7571795576e164ff63a5214f73822..fe6b164b53ecddd2f3b4f6f3d8824ac0382a938b 100755 (executable)
@@ -231,7 +231,7 @@ function splitwords(l, dest, n, o, w) {
       section=wtail()
       linecmd("== " section " ==")
     } else if(match(words[w],"^Xr$")) {
-      add("'''" words[++w] "'''(" words[++w] ")" words[++w])
+      add("'''" words[++w] "'''(" words[++w] ")" words[++w] " ")
     } else if(match(words[w],"^Nm$")) {
       if(match(section,"SYNOPSIS"))
         breakline()