View Single Post
Old 10-29-2024, 04:52 PM   #12
Shohreh
Addict
Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.
 
Posts: 236
Karma: 304158
Join Date: Jan 2016
Location: France
Device: none
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.

Last edited by Shohreh; 10-29-2024 at 05:13 PM.
Shohreh is offline   Reply With Quote