Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

    $ apropos search
    ...
    grep (1p)            - search a file for a pattern
    ...


view as:

On each of the two machines I have immediate access to:

    $ apropos search
    apropos: Command not found.
Aside from the obvious, man pages just aren’t the answer most of the time.

Part of the issue is that a man page is a reference. This is a necessary kind of documentation, but sometimes I want a tutorial and sometimes I want a cookbook. References are great for some things, but discovering new tools isn’t generally one of them. Obviously, you don’t have to write man pages that way, but almost all of the ones I see in the wild are.

Another part is that man pages as a resource have really atrophied in my experience. Lots of new CLI tools don’t have them at all, and lots of systems don’t have them installed even for older/core tools. The why is harder. I suspect that it’s a mix of tooling (e.g. needing to learn groff/troff to write them), search (your man pages aren’t indexed by Google by default like your GitHub readme), and culture. But I’m not sure.


Legal | privacy