Issue 8682 - Malformatted man pages on AIX
Summary: Malformatted man pages on AIX
Status: UNCONFIRMED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: documentation (show other issues)
Version: 2.4.45
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-05 14:46 UTC by goran.hammarback@foxt.com
Modified: 2021-03-08 17:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description goran.hammarback@foxt.com 2017-07-05 14:46:31 UTC
Full_Name: G.ran Hammarb.ck
Version: 2.4.45
OS: AIX and Solaris
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (192.71.43.2)


Man pages are incorrectly formatted on AIX and Solaris.
The problem is that the .BR directive only takes 6 arguments on these platforms
and some man pages (.e.g ldapadd.1, ldapmodify.1 and ldapsearch.1) use more
arguments.
It is known to affect the options -s, -a, -e and -E.
For example, in ldapsearch.1, the line
.BR \-s \ { base \||\| one \||\| sub \||\| children }]
will be formatted as:
-s {base|sub|

The fix is to break up the line in ldapsearch.1 as e.g:
.BR \-s \ {\c
.BR base \||\| one \||\|\c
.BR sub \||\| children }]
Comment 1 Quanah Gibson-Mount 2021-02-12 21:05:08 UTC
Formats correctly for me on Solaris 11.3
Comment 2 goran.hammarback@foxt.com 2021-02-15 12:45:45 UTC
I should have been more specific, sorry.
The problem is on Solaris 10 (which is now EOL), and AIX 7.2
Comment 3 Quanah Gibson-Mount 2021-03-08 17:24:24 UTC
Patch welcome