by clarry · 7y ago · 0 comments
https://linux.die.net/man/1/find
I usually read man pages on OpenBSD, even when I'm working on Linux. I also often link people on IRC OpenBSD man pages when they're struggling with their tools (or their manuals) on Linux. The reception is generally positive.
To me, much like code and math, the art of writing good documentation is all about finding a way to make it short and simple (but still correct and complete).
It's possible that I just don't know how to use info. I always end up in the wrong place. That does not happen with man.
> and using the index you can jump to the canonical docs for any argument or command in one go
How?
> (ever spent time trying to find the hyphen-character section of a man page but struggled because it's referenced in 10 places?)
No, because the options are indented and inserting a few spaces before the hyphen in search string eliminates virtually all in-text references. Conventionally, the options are alpha-sorted too. In info pages, I end up wondering which section the option I want might be covered in.
As sibling commenters have mentioned, the Info tooling and format encourages people to split up their content into a bunch of nodes. In my experience, ~80% of Info manuals would be better if they were just concatenated into a single node, which the user could quickly Ctrl-F through with the tool of their choice.
[1] https://www.gnu.org/software/texinfo/manual/info-stnd/info-s...
[2] https://www.gnu.org/software/texinfo/manual/info-stnd/info-s...
But the good news is I read GNU is moving away from INFO for something else, forgot what it was.
Particularly when taking a certain vendor's certification tests, it was the work of seconds to write a man page example to disk and turn that into a script.
https://www.gnu.org/software/findutils/manual/html_mono/find...