Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 23436

Summary: makewhatis sys-apps/man minor functionality improvement
Product: Gentoo Linux Reporter: Paul Thompson <set.mailinglist>
Component: [OLD] Core systemAssignee: Tavis Ormandy (RETIRED) <taviso>
Status: RESOLVED FIXED    
Severity: normal CC: mr_bones_
Priority: High    
Version: 1.4_rc4   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: trivial patch to makewhatis

Description Paul Thompson 2003-06-24 23:03:53 UTC
As documented in the man page, makewhatis can take a subsections
argument (-s). Unfortunately, this is currently broken due to the
way arguments are referenced. This is a patch Ive been using
for a while. Basicly, it allows the script to parse:
-s "1 2 3"
as "1 2 3" being one argument to -s, rather than just pairing
the '1' to -s and choking on 2 and 3 as separate args.
Comment 1 Paul Thompson 2003-06-24 23:05:06 UTC
Created attachment 13815 [details, diff]
trivial patch to makewhatis
Comment 2 Tavis Ormandy (RETIRED) gentoo-dev 2003-09-05 16:10:22 UTC
Confirmed, looks like an obvious flaw in their logic.

assigning to me...
Comment 3 Tavis Ormandy (RETIRED) gentoo-dev 2003-09-05 16:32:01 UTC
This has been fixed in man-1.5m2, with the same fix you suggested :)

1.5m2 should be in portage shortly.

RESOLVED, FIXED.