Prefer shorter results in man page path search

Bug #1443289 reported by Murukesh Mohanan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Manpage Repository
New
Undecided
Unassigned

Bug Description

At the moment, manpage search is done using glob.glob, whose ordering is uncertain at best. If we could impose some sorting on the results, it would be more convenient. Now, it's not possible to tell whether manpages.ubuntu.com/foo.1 will send us to foo.1, foo.1posix or foo.1plan9 or something else altogether. If we sorted on length of the result (ascending), `foo.1` will be preferred.

Tags: wishlist
Revision history for this message
Murukesh Mohanan (murukesh) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.