3 ms·
man $command
by blueflow 5y ago
man $command
- nixpulvis 5y agoCan someone remind me what tool I use to convert markdown to man pages? Even better, anyone have a good way to embed a man page into my README?
- sidpatil 5y agoTry pandoc [1]. You can convert back and forth between manpage and Markdown with it. [1] https://pandoc.org/index.html https://pandoc.org/index.html
- AlexanderDhoore 5y agoAnd also a few other formats. Wanna convert LaTeX to Black Speech? No problem! Use pandoc!
- anjbe 5y agoMandoc, the default manpage formatter on OpenBSD, FreeBSD, NetBSD, macOS, and some Linuxes (as well as web frontends like manpages.debian.org and man.archlinux.org), can convert manpages to Markdown, or to HTML directly: https://mandoc.bsd.lv/man/mandoc.1.html#Markdown_Output https://mandoc.bsd.lv/man/mandoc.1.html#Markdown_Output
- jve 5y agoOr "help command" in powershell world. But applies to powershell cmdlets/functions only. Edit: I just checked on windows, man is actually alias for help in PowerShell :)