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
To install Sman, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sman
CPAN shell
perl -MCPAN -e shell install Sman
For more information on module installation, please visit the detailed CPAN module installation guide.