From ccc9af8efd9b7c0266fff244e2cdec9f1ab83dd0 Mon Sep 17 00:00:00 2001 From: disu1950 Date: Wed, 25 Dec 2024 22:32:55 +0000 Subject: [PATCH] neman ja pojma DISU? --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index b7adee1..ea0852d 100644 --- a/README.md +++ b/README.md @@ -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. ```