[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZybIG9xykOW6driW@riva.ucam.org>
Date: Sun, 3 Nov 2024 00:47:23 +0000
From: Colin Watson <cjwatson@...ark.greenend.org.uk>
To: Alejandro Colomar <cjwatson@...ian.org>
Cc: "G. Branden Robinson" <g.branden.robinson@...il.com>,
Ian Rogers <irogers@...gle.com>, David Airlie <airlied@...il.com>,
Simona Vetter <simona@...ll.ch>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
Jonathan Corbet <corbet@....net>, dri-devel@...ts.freedesktop.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-man@...r.kernel.org, groff@....org
Subject: Re: [PATCH v2 1/3] proc_pid_fdinfo.5: Reduce indent for most of the
page
I'm not trying to stop you committing whatever you want to your
repository, of course, but I want to be clear that this doesn't actually
solve the right problem for manual page indexing. The point of the
parsing code in mandb(8) - and I'm not claiming that it's great code or
the perfect design, just that it works most of the time - is to extract
the names and summary-descriptions from each page so that they can be
used by tools such as apropos(1) and whatis(1). Splitting on section
boundaries is just the simplest part of that problem, and I don't think
that doing it in a separate program really gains anything.
(That's leaving aside things like localized man pages, which I know some
folks on the groff list tend to sniff at but I think they're important,
and the fact that the NAME section has both semantic and presentational
meaning means that like it or not the parser needs to be aware of this.)
--
Colin Watson (he/him) [cjwatson@...ian.org]
Powered by blists - more mailing lists