From f5615962c04936a5537889518e7ee9c801f3a89e Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 31 May 2005 16:59:16 +1000 Subject: [PATCH] - (dtucker) [mdoc2man.awk] Teach it to understand .Ox. --- ChangeLog | 3 ++- mdoc2man.awk | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c68b050a7..bb8660c7b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 20050531 - (dtucker) [contrib/aix/pam.conf] Correct comments. From davidl at vintela.com. + - (dtucker) [mdoc2man.awk] Teach it to understand .Ox. 20050530 - (dtucker) [README] Link to new release notes. Beter late than never... @@ -2644,4 +2645,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.3801 2005/05/31 06:51:07 dtucker Exp $ +$Id: ChangeLog,v 1.3802 2005/05/31 06:59:16 dtucker Exp $ 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$")) {