diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | mdoc2man.awk | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -27,6 +27,7 @@ | |||
27 | - dtucker@cvs.openbsd.org 2009/10/24 00:48:34 | 27 | - dtucker@cvs.openbsd.org 2009/10/24 00:48:34 |
28 | [ssh-keygen.1] | 28 | [ssh-keygen.1] |
29 | ssh-keygen now uses AES-128 for private keys | 29 | ssh-keygen now uses AES-128 for private keys |
30 | - (dtucker) [mdoc2man.awk] Teach it to understand the .Ux macro. | ||
30 | 31 | ||
31 | 20091011 | 32 | 20091011 |
32 | - (dtucker) [configure.ac sftp-client.c] Remove the gyrations required for | 33 | - (dtucker) [configure.ac sftp-client.c] Remove the gyrations required for |
diff --git a/mdoc2man.awk b/mdoc2man.awk index 9d1126769..80e8d5ffa 100644 --- a/mdoc2man.awk +++ b/mdoc2man.awk | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/usr/bin/awk | 1 | #!/usr/bin/awk |
2 | # | 2 | # |
3 | # $Id: mdoc2man.awk,v 1.8 2007/06/05 10:01:16 dtucker Exp $ | 3 | # $Id: mdoc2man.awk,v 1.9 2009/10/24 00:52:42 dtucker Exp $ |
4 | # | 4 | # |
5 | # Version history: | 5 | # Version history: |
6 | # v4+ Adapted for OpenSSH Portable (see cvs Id and history) | 6 | # v4+ Adapted for OpenSSH Portable (see cvs Id and history) |
@@ -149,6 +149,9 @@ function add(str) { | |||
149 | } else if(match(words[w],"^Dt$")) { | 149 | } else if(match(words[w],"^Dt$")) { |
150 | id=wtail() | 150 | id=wtail() |
151 | next | 151 | next |
152 | } else if(match(words[w],"^Ux$")) { | ||
153 | add("UNIX") | ||
154 | skip=1 | ||
152 | } else if(match(words[w],"^Ox$")) { | 155 | } else if(match(words[w],"^Ox$")) { |
153 | add("OpenBSD") | 156 | add("OpenBSD") |
154 | skip=1 | 157 | skip=1 |