diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-05-31 08:59:16 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-05-31 08:59:16 +0200 |
commit | f5615962c04936a5537889518e7ee9c801f3a89e (patch) | |
tree | d8a5161409297932230709a5415bf21805e7674b /mdoc2man.awk | |
parent | - (dtucker) [contrib/aix/pam.conf] Correct comments. From davidl at (diff) | |
download | openssh-f5615962c04936a5537889518e7ee9c801f3a89e.tar.xz openssh-f5615962c04936a5537889518e7ee9c801f3a89e.zip |
- (dtucker) [mdoc2man.awk] Teach it to understand .Ox.
Diffstat (limited to 'mdoc2man.awk')
-rw-r--r-- | mdoc2man.awk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mdoc2man.awk b/mdoc2man.awk index 4e72cdc1c..d6eaf4601 100644 --- a/mdoc2man.awk +++ b/mdoc2man.awk @@ -140,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$")) { |