Of course, this is just me being hyperbolic. But I bet you can relate more to it than you'd like.
Both, the format (roff) and the typical man-page content itself feels pretty neglected these days.
I guess legacy and old conventions are holding us back from switching to something that's easier to write, to read/consume, and to maintain. Markdown anyone?
@fribbledom
I haven't written manpages in roff, only in scdoc, but so maybe the tooling is more cumbersome than it needs to be.
But in terms of the way information is organized in manpages? I wholeheartedly disagree. I think it's one of the best documentation formats I've ever read.
@fribbledom
Some of the newer stuff has no manpages, or has weird manpages that don't follow the convention, and that sucks.
I also don't like some of the recent changes to linux manpages, eg. how prctl(2) had all the constants split to separate pages, one per constant.
But if you look at the manpages of Linux syscalls, libc functions, and many non-GNU commandline tools from the pre-docker era, they're usually quite good.
Oh, and section 7 is the best.
@fribbledom @wolf480pl part of me wants to be offended and defensive, but then I realized you are likely a linux user, where gnu has been undermining maintenance of man pages for decades.
They're not neglected on my BSD systems, so, no, I cannot relate. ;-)
AsciiDoc / AsciiDoctor
https://docs.asciidoctor.org/asciidoctor/latest/manpage-backend/
“Classic Unix documentation is written to be telegraphic but complete… The style assumes an active reader, one who is able to deduce obvious unsaid consequences of what is said, and who has the self-confidence to trust those deductions. Read every word carefully, because you will seldom be told anything twice.”
This is a quote from 20 years ago.
@adriano @wolf480pl @fribbledom even the 80s Mac OS UI guidelines expected a instinctively curious user
https://blog.prototypr.io/rediscovering-apples-human-interface-guidelines-1987-59731376b39e
@adriano
Yeah, and that's exactly what I want from reference documentation.
Of course, reference documentation is not a replacement for a high-level overview or for a tutorial. But when you're already familiar with the system, information-dense is what you want.
@fribbledom
> EXAMPLES
> tool -ahkgdfg 4 ...
>
> SEE ALSO
> bash(1), free(3)
Learning to read man(1) pages was crucial to my early career. And maturity as a developer.