Skip to Content.
Sympa Menu

baslinux - Re: [BL] man2html script

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: 3aoo-cvfd AT dea.spamcon.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] man2html script
  • Date: Thu, 4 Dec 2003 13:12:53 +1300

James Miller wrote:
>
> I've been able to do the steps separately - i.e.,
> -----------------------------------------------------------
> zcat /usr/man/man1/antiword.1.gz | man2html > /tmp/xxx.html
> -----------------------------------------------------------
> then
> -------------------
> links /tmp/xxx.html
> -------------------
> which brings up the manpage nicely in Links.

This works for me:
---------------------------------------------------------------
#!/bin/bash
zcat `find /usr/man/man* -name $1.*` | man2html > /tmp/xxx.html
links-0.93 /tmp/xxx.html
---------------------------------------------------------------

Cheers,
Steven




Archive powered by MHonArc 2.6.24.

Top of Page