Re: Printing Man Pages

From: Hal Burgiss (hal_at_foobox.net)
Date: 12/02/03

  • Next message: betty bear: "Hi guy I would like to set no anonymous login,but local user can.It doesn't work"
    To: redhat-list@redhat.com
    Date: Mon, 1 Dec 2003 19:49:33 -0500
    
    

    On Mon, Dec 01, 2003 at 06:52:57PM -0500, Michael Fratoni wrote:
    >
    > But better formatted output can be obtained with:
    > man -t <some man page> | lpr

    Or man man2html, which can run from command line or as a cgi:

    #!/bin/bash
    zcat /usr/share/man/man1/$1 |man2html

    or somesuch. Then access as http://localhost/cgi-bin?ls.1.gz, or
    whatever. Or make better script to flesh out the path. IIRC, the
    man2html man page has more/better info.

    -- 
    Hal Burgiss
     
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: betty bear: "Hi guy I would like to set no anonymous login,but local user can.It doesn't work"