(BTW; hasn't anyone yet created an info2man converter?
Janis Papanagnou wrote:
(BTW; hasn't anyone yet created an info2man converter?
I have had this in ~/.bashrc for years:
function mani () { info $1 --subnodes --output - | less; }
I have had this in ~/.bashrc for years:
function mani () { info $1 --subnodes --output - | less; }
On Tue, 4 Nov 2025 02:37:55 -0800, Yeechang Lee wrote:
I have had this in ~/.bashrc for years:
function mani () { info $1 --subnodes --output - | less; }
Heres a handy example command for viewing a man page in a nicely typeset >rendering:
gunzip -c $(man -w bash) | groff -ktman -Tpdf | okular -
What would be an equivalent for info?
On 2025-08-22 at 20:05 ADT, Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
On 23.08.2025 00:40, Keith Thompson wrote:
Yes. I think that for some GNU tools, the info and man documents
contain the same information. For others, the man page is just a brief
summary, sometimes generated from "--help" output with "help2man".
I've meanwhile looked also into the size of the man pages...
Number of man pages with number of lines
512 with 1..40 lines
1641 with 41..200 lines
781 with 201..1000 lines
159 with 1001..5000 lines
28 with 5001..20000 lines
That doesn't appear to be just irrelevant information, at least.
Is that 20000 tight? That is, are there man pages that big, or did your histogramization (?) arbitrarily pick 20000?
On 2025-08-23, Jim <zsd@jdvb.ca> wrote:
On 2025-08-22 at 20:05 ADT, Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
On 23.08.2025 00:40, Keith Thompson wrote:
Yes. I think that for some GNU tools, the info and man documents
contain the same information. For others, the man page is just a brief >>>> summary, sometimes generated from "--help" output with "help2man".
I've meanwhile looked also into the size of the man pages...
Number of man pages with number of lines
512 with 1..40 lines
1641 with 41..200 lines
781 with 201..1000 lines
159 with 1001..5000 lines
28 with 5001..20000 lines
That doesn't appear to be just irrelevant information, at least.
Is that 20000 tight? That is, are there man pages that big, or did your
histogramization (?) arbitrarily pick 20000?
$ man txr | wc
46266 382645 2775327
No, hold it, correction. I have a wide terminal. We have to measure
using the 80 column standard:
$ MANWIDTH=80 man txr | wc
67616 386241 3110809
That's more like it!
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 09:05:45 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
2 files (6,679K bytes) |
| Messages: | 265,062 |