Hacker News new | ask | show | jobs
by vegai 5347 days ago
http://www.openbsd.org/cgi-bin/man.cgi?query=wireless&se...

I like Linux in practice, but one must admit that BSDs' manuals are way better.

1 comments

The problem with linux is that nobody owns responsibility for making the whole man system good.

Linux kernel stuff is covered by the linux man project. This is run by Kerrisk, who is a good communicator - _The Linux Programming Interface_ reads like Stevens but is richer in practical advice.

But if you go to the man page for something like awk or bash or grep (the common use-case - where you need a quick reference), they're maintained by the team who write the tool, or - often enough - not maintained by the team. There are undocumented flags, often the doc only tends to make sense if you already understand the internals of the tool. GNU tool man pages are generally obtuse.

BSD and plan 9 have much better man systems. Unless a linux distribution comes along and makes a conscious effort to solve GNU/linux doc, the man system available to linux users will always suck - it's structural.

"But if you go to the man page for something like awk or bash or grep [...]"

And this is where you are doing it wrong. For GNU tools, the man page is just a stub. The official documentation is maintained in the form of "info" pages.

Now, you may consider this obtuse (I sure do), but it doesn't mean there is no documentation.

Linux (the kernel) actually has manpages? Are you sure? I've never seen any.

Case in point: check the output of lsmod. How many of those modules have a corresponding manpage? My guess: zero.

Same question for a BSD system (with lsmod changed to kldstat or whatever): all of them.

On linux try 'man select' (defaults to section 2) or 'man kmem' (section 4). Linux man project.