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

Re: [MacPerl] unix man pages to .pod or other readable format?



"Paul Evad" <pevad@kudosnet.com> said the following at 8/4/97 2:53 PM:

>Reason being... I currently can't print from my linux box to my IINTR
>(haven't taken the time to figure that one out yet ;-).

I assume you have nroff...

#!/usr/local/bin/perl

$input = $ARGV[0];
$output = $ARGV[1];
if ($input eq "") {
        print "Converts man pages to text files.\n";
        print "    Usage: man-txt Input Output\n"; }
else {
system ("nroff -man $input | col -b > $output");
}

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch