neman ja pojma DISU?

This commit is contained in:
disu1950 2024-12-25 22:32:55 +00:00
parent 2bc08b6a42
commit ccc9af8efd

View File

@ -4,6 +4,20 @@ Convert manpages to HTML documents.
## Usage
Just a short version of this:
```sh
zcat /data/data/com.termux/files/usr/share/man/man1/cmake.1.gz | groff -mandoc -Thtml > cmake-man.html
```
To find out man page paths use `whereis` command:
```sh
$ whereis cmake
cmake: /data/data/com.termux/files/usr/bin/cmake /data/data/com.termux/files/usr/share/man/man1/cmake.1.gz
```
`man2html` takes the name of a manpage as an argument, so you don't need to specify the manpage by its path.
```