[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printing perldocs



On Fri, Feb 07, 2003 at 03:51:42PM -0600, Danny Sauer wrote:
> Is there an easier way to print out my perl documentation (pod to 
> postscript) than this?
> 
> pod2man `perldoc -l HTTP::DAV` > deleteme
> man -t -l deleteme | lpr
> rm deleteme

My first idea was this:

    perldoc -u -T HTTP::DAV | pod2man | groff -Tps -mandoc | lpr

But it appears that this works too:

    perldoc -T -n 'groff -Tps' HTTP::DAV | lpr

It'd be really easy to make a wrapper script for that...  :-)

Steve
-- 
steve@silug.org           | Southern Illinois Linux Users Group
(618)398-7360             | See web site for meeting details.
Steven Pritchard          | http://www.silug.org/

-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.