Yes, but it doesn't explain the error in that Perl script:
Code:
:~/man-to-md-master# ./man-to-md.pl < smb.conf.5 > smb.conf.md
first line does not contain '.TH' macro at ./man-to-md.pl line 660, <> line 1.
--
Edit: Here's how to 1) grab a man page, 2) unzip it, 3) turn it into EPUB:
Code:
cp /usr/share/man/man5/smb.conf.5.gz .
gunzip smb.conf.5.gz
pandoc -f man -t epub -o smb.conf.epub smb.conf.5
Thank you all.