mandoc
This commit is contained in:
parent
f2c3025641
commit
59f9c0a495
30
README.md
30
README.md
@ -1,3 +1,31 @@
|
|||||||
# man2html
|
# man2html
|
||||||
|
|
||||||
just a script 4 fast manpage outputs
|
Convert manpages to HTML documents.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
`man2html` takes the name of a manpage as an argument, so you don't need to specify the manpage by its path.
|
||||||
|
|
||||||
|
```
|
||||||
|
$ man2html termux
|
||||||
|
```
|
||||||
|
|
||||||
|
`man2html` allways outputs to stdout. You can save the generated html page using output redirection in your shell, like this:
|
||||||
|
```
|
||||||
|
$ man2html termux > termux_manpage.html
|
||||||
|
```
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
Copy the script somewhere in your $PATH. Clone or download .zip manually.
|
||||||
|
|
||||||
|
```
|
||||||
|
git clone "https://gitea.dmz.rs/disu1950/man2html"
|
||||||
|
cd man2html
|
||||||
|
cp man2html /data/data/com.termux/files/home/.local/bin
|
||||||
|
chmod +x /data/data/com.termux/files/home/.local/bin/man2html
|
||||||
|
```
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This project is licensed under the WTF Public License, version 3.
|
Loading…
Reference in New Issue
Block a user