Bug 907

Summary: patch to mdoc2man.awk
Product: Portable OpenSSH Reporter: Jörg Friedrich <Joerg.Dieter.Friedrich>
Component: Build systemAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: -current   
Hardware: All   
OS: Solaris   

Description Jörg Friedrich 2004-07-23 21:04:19 AEST
Otherwise the ssh.1 manpage is not build correct.

.It PasswordAuthentication

matches and gets replaced by ".B"

Patch:
--- mdoc2man.awk.orig   Fri Jul 23 12:46:49 2004
+++ mdoc2man.awk        Fri Jul 23 12:47:13 2004
@@ -306,7 +306,7 @@
       else if(optlist==3) {
        add(".TP")
        prenl++
-       if(match(words[w+1],"^Pa|Ev$")) {
+       if(match(words[w+1],"^Pa$|^Ev$")) {
          add(".B")
          w++
        }
Comment 1 Darren Tucker 2004-07-23 21:09:40 AEST
Already fixed in -current:

20040627
[...]
 - (dtucker) [mdoc2man.awk] Bug #883: correctly recognise .Pa and .Ev macros.