Asciidoctor :: Discussion
Login
Register
Re: Embed man pages in a book
Posted by
mojavelinux
on
Aug 25, 2016; 10:26pm
URL:
https://discuss.asciidoctor.org/Embed-man-pages-in-a-book-tp4906p4916.html
On Thu, Aug 25, 2016 at 4:25 PM, Dan Allen
<
[hidden email]
>
wrote:
COMMAND=ls
vim -c ":Man $COMMAND" -c ':TOhtml' -c ":w `pwd`/$COMMAND.html" -c ':qa!'
Correction. That should be on one line.
COMMAND=ls vim -c ":Man $COMMAND" -c ':TOhtml' -c ":w `pwd`/$COMMAND.html" -c ':qa!'
--
Dan Allen | @mojavelinux |
https://twitter.com/mojavelinux
Free forum by Nabble
Edit this page