bugDatabase-driven manual pager suite - Bugs: bug #28145, man -s is broken

 
 

bug #28145: man -s is broken

Submitted by:  None
Submitted on:  Tue 01 Dec 2009 04:41:15 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Colin Watson <cjwatson>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 01 Dec 2009 05:04:17 PM UTC, comment #1:

Thanks for your report. I've fixed this for the next release:

Tue Dec 1 17:01:19 GMT 2009 Colin Watson <cjwatson@debian.org>

* src/man.c (do_extern): Pass section through to external program
(Savannah bug #28145). Fix passing of alternate system name to use
-m rather than -s.

In the meantime, you can use 'apropos -s1 printf' as a workaround; the problem was just in the handling of passing arguments through from the 'man -k' wrapper. The same applies to whatis vs. 'man -f'.

Colin Watson <cjwatson>
Project AdministratorIn charge of this item.
Tue 01 Dec 2009 04:41:15 PM UTC, original submission:

When trying to use man -k -s I noticed that the -s option doesn't seem to work right.

daenyth@Muspelheimr ~ $ man -k -s1 printf
aa_printf (3) - print text to AA-lib output buffers.
asprintf (3) - print to allocated string
ber_printf (3) - OpenLDAP LBER simplified Basic Encoding Rules library routines for encoding
curl_mprintf (3) - formatted output conversion
dprintf (3) - print to a file descriptor
event (3) - execute a function when a specific event occurs
format (n) - Format a string in the style of sprintf
fprintf (3) - formatted output conversion
fprintf (3p) - print formatted output
fwprintf (3) - formatted wide-character output conversion
fwprintf (3p) - print formatted wide-character output
printf (1) - format and print data

There's also more results, but that's the gist of it.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cjwatson (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 01 Dec 2009 05:04:17 PM UTCcjwatsonStatusNone=>Fixed
      Assigned toNone=>cjwatson
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1