]> andersk Git - gssapi-openssh.git/blobdiff - openssh/mdoc2man.awk
gssapi_set_implicit_username() is now gssapi_set_username()
[gssapi-openssh.git] / openssh / mdoc2man.awk
index 9135af07e0ee557b50fb039e5dff64cb3ea6c916..d6eaf460154e115756cff1d685c40bfec1e7b77c 100644 (file)
@@ -32,6 +32,7 @@ BEGIN {
   extopt=0
   literal=0
   prenl=0
+  breakw=0
   line=""
 }
 
@@ -139,6 +140,9 @@ function add(str) {
     } else if(match(words[w],"^Dt$")) {
       id=wtail()
       next
+    } else if(match(words[w],"^Ox$")) {
+      add("OpenBSD")
+      skip=1
     } else if(match(words[w],"^Os$")) {
       add(".TH " id " \"" date "\" \"" wtail() "\"")
     } else if(match(words[w],"^Sh$")) {
@@ -298,6 +302,13 @@ function add(str) {
       w=nwords
     } else if(match(words[w],"^El$")) {
       optlist=oldoptlist
+    } else if(match(words[w],"^Bk$")) {
+      if(match(words[w+1],"-words")) {
+       w++
+       breakw=1
+      }
+    } else if(match(words[w],"^Ek$")) {
+      breakw=0
     } else if(match(words[w],"^It$")&&optlist) {
       if(optlist==1)
        add(".IP \\(bu")
@@ -306,7 +317,7 @@ function add(str) {
       else if(optlist==3) {
        add(".TP")
        prenl++
-       if(match(words[w+1],"^Pa|Ev$")) {
+       if(match(words[w+1],"^Pa$|^Ev$")) {
          add(".B")
          w++
        }
This page took 0.033459 seconds and 4 git commands to generate.