| Sman documentation | view source | Contained in the Sman distribution. |
Sman::Man::Convert - Convert manpages to XML for sman-update and sman
# this module is intended for internal use by sman-update
my $smanconfig = new Sman::Config();
$smanconfig->ReadDefaultConfigFile();
my $converter = new Sman::Man::Convert($smanconfig);
#$converter->ClearCache(); # if you wish
my ($type, $outputref) =
$converter->ConvertManfile($manfile);
Use MANCMD and COLCMD (see 'perldoc sman.conf') to convert the man pages from ASCII into XML.
Josh Rabinowitz <joshr>
sman-update, sman, sman.conf
| Sman documentation | view source | Contained in the Sman distribution. |