Bug 17745

Summary: wrong environment variable in manpage
Product: Documentation Reporter: nordwick <nordwick>
Component: Books & ArticlesAssignee: Sheldon Hearn <sheldonh>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description nordwick 2000-04-02 05:10:01 UTC
The "man" manpage says MANSEC is the environment variable to set to tell
which sections to search through, but it should be MANSECT  (I think, I
figured this out by "strings"ing /usr/bin/man).

Fix: 

just change it?
How-To-Repeat: $man man
now look where it says MANSEC
$MANSEC=2 man write
will bring up write(1)
$MANSECT=2 man write
will correctly bring up write(2)
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-04-05 14:55:38 UTC
Responsible Changed
From-To: freebsd-doc->sheldonh

I'll take this one, since I feel bad about not having fixed it 
the first time I noticed it. :-) 
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2000-04-05 15:02:19 UTC
State Changed
From-To: open->closed

Fixed in rev 1.12, thanks!  Could you please do the "responsible 
citizen" thing and report this to the GNU man maintainers as  
well? :-) 

Thanks, 
Sheldon.