baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: jamtat AT mailsnare.net
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] man2html script
- Date: Tue, 9 Dec 2003 12:13:34 -0600 (CST)
On Thu, 4 Dec 2003 keesan2 AT cyberspace.org wrote:
> >-------------------------------------------------------------
> >#!/bin/bash
> >zcat `find /usr/man/man* -name $1.*` | man2html | lynx -stdin
> >-------------------------------------------------------------
> >
> >Cheers,
> >Steven
>
> I installed some packages that put man pages into
> /usr/local/man/man* and /usr/X11R6/man/man*
>
> Should I modify the above to read /usr/*/man/man* ?
>
Here's what I did for those /usr/X11R6/man manpages. I made a symlink to
the /usr/X11R6/man directory under /usr and called it "manX". Then, I
edited the script as follows:
-------------------------------------------------------------
#!/bin/bash
zcat `find /usr/man*/man* -name $1.*` | man2html | lynx -stdin
-------------------------------------------------------------
(note the "man*" directly under /usr). This seems to allow the script to
follow the symlink to the /usr/X11R6/man directory and find manpages
there, while still allowing it to find manpages under /usr/man.
James
-
Re: [BL] man2html script
, (continued)
- Re: [BL] man2html script, 3aoo-cvfd, 12/03/2003
-
Re: [BL] man2html script,
3aoo-cvfd, 12/03/2003
- Re: [BL] man2html script, 3aoo-cvfd, 12/03/2003
- Re: [BL] man2html script, James Miller, 12/03/2003
- Re: [BL] man2html script, James Miller, 12/03/2003
- Re: [BL] man2html script, James Miller, 12/03/2003
- Re: [BL] man2html script, 3aoo-cvfd, 12/03/2003
- Re: [BL] man2html script, James Miller, 12/03/2003
- Re: [BL] man2html script, 3aoo-cvfd, 12/04/2003
- Re: [BL] man2html script, jamtat, 12/09/2003
-
Re: [BL] man2html script,
James Miller, 12/04/2003
-
Re: [BL] man2html script,
sindi keesan, 12/04/2003
- Re: [BL] man2html script, 3aoo-cvfd, 12/04/2003
- [BL] photopc, sindi keesan, 12/14/2003
-
Re: [BL] man2html script,
sindi keesan, 12/04/2003
- Re: [BL] man2html script, 3aoo-cvfd, 12/04/2003
Archive powered by MHonArc 2.6.24.