From 6ac91a7c83a7343e9fdf24c2857b301b50e21a9c Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sat, 24 Oct 2009 11:52:42 +1100 Subject: - (dtucker) [mdoc2man.awk] Teach it to understand the .Ux macro. --- mdoc2man.awk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mdoc2man.awk') diff --git a/mdoc2man.awk b/mdoc2man.awk index 9d1126769..80e8d5ffa 100644 --- a/mdoc2man.awk +++ b/mdoc2man.awk @@ -1,6 +1,6 @@ #!/usr/bin/awk # -# $Id: mdoc2man.awk,v 1.8 2007/06/05 10:01:16 dtucker Exp $ +# $Id: mdoc2man.awk,v 1.9 2009/10/24 00:52:42 dtucker Exp $ # # Version history: # v4+ Adapted for OpenSSH Portable (see cvs Id and history) @@ -149,6 +149,9 @@ function add(str) { } else if(match(words[w],"^Dt$")) { id=wtail() next + } else if(match(words[w],"^Ux$")) { + add("UNIX") + skip=1 } else if(match(words[w],"^Ox$")) { add("OpenBSD") skip=1 -- cgit v1.2.3