* Hand-written manual pages for GNU coreutils
@ 2026-07-18 15:13 Alejandro Colomar
2026-07-18 15:42 ` ls/dir/vdir(1) Alejandro Colomar
2026-07-18 17:02 ` Hand-written manual pages for GNU coreutils Pádraig Brady
0 siblings, 2 replies; 5+ messages in thread
From: Alejandro Colomar @ 2026-07-18 15:13 UTC (permalink / raw)
To: coreutils; +Cc: linux-man
[-- Attachment #1: Type: text/plain, Size: 503 bytes --]
Hi!
I've started working on improving the quality of the manual pages for
coreutils, as I promised some time ago I'd do. The work is --for the
moment-- in the 'coreutils' branch of the Linux man-pages repo. Once
I finish, they won't be auto-generated from --help anymore.
<https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/log/?h=coreutils>
We'll talk about incorporation to the coreutils.git repo later.
Have a lovely day!
Alex
--
<https://www.alejandro-colomar.es>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* ls/dir/vdir(1)
2026-07-18 15:13 Hand-written manual pages for GNU coreutils Alejandro Colomar
@ 2026-07-18 15:42 ` Alejandro Colomar
2026-07-18 18:15 ` ls/dir/vdir(1) Ivan Sokolov
2026-07-18 17:02 ` Hand-written manual pages for GNU coreutils Pádraig Brady
1 sibling, 1 reply; 5+ messages in thread
From: Alejandro Colomar @ 2026-07-18 15:42 UTC (permalink / raw)
To: coreutils; +Cc: linux-man
[-- Attachment #1: Type: text/plain, Size: 576 bytes --]
Hi,
I have some doubts about specific pages; let's start with ls/dir/vdir.
Experimentally, ls(1) and dir(1) seem to be exactly the same. I'd like
to document dir(1) with a short page saying that it's equivalent to
ls(1). Is this correct, or is there any subtle difference?
vdir(1) seems to be `ls -l`. Is this also correct? Or is there any
other subtle difference?
Are there any other coreutils commands that are similarly equivalent and
whose page could be similarly simplified?
Have a lovely day!
Alex
--
<https://www.alejandro-colomar.es>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ls/dir/vdir(1)
2026-07-18 15:42 ` ls/dir/vdir(1) Alejandro Colomar
@ 2026-07-18 18:15 ` Ivan Sokolov
0 siblings, 0 replies; 5+ messages in thread
From: Ivan Sokolov @ 2026-07-18 18:15 UTC (permalink / raw)
To: Alejandro Colomar; +Cc: coreutils, linux-man
Hi Alejandro,
On Sat, 18 Jul 2026 17:42:24 +0200
Alejandro Colomar <alx@kernel.org> wrote:
> Experimentally, ls(1) and dir(1) seem to be exactly the same. I'd
> like to document dir(1) with a short page saying that it's equivalent
> to ls(1). Is this correct, or is there any subtle difference?
From https://www.gnu.org/prep/standards/standards.html#User-Interfaces :
For example, we provide a dir program much like ls except that its
default output format is always multi-column format.
That's where I learnt about `dir`, but similar is said in `info dir`.
You can confirm this by comparing the output of `dir|cat` vs `ls|cat`.
I think to know these kinds of differences you'd need to refer to GNU
texinfo pages (short of just reading the source). After all, the GNU
project treats them as the primary documentation.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Hand-written manual pages for GNU coreutils
2026-07-18 15:13 Hand-written manual pages for GNU coreutils Alejandro Colomar
2026-07-18 15:42 ` ls/dir/vdir(1) Alejandro Colomar
@ 2026-07-18 17:02 ` Pádraig Brady
2026-07-18 17:46 ` Alejandro Colomar
1 sibling, 1 reply; 5+ messages in thread
From: Pádraig Brady @ 2026-07-18 17:02 UTC (permalink / raw)
To: Alejandro Colomar, coreutils; +Cc: linux-man
On 18/07/2026 16:13, Alejandro Colomar wrote:
> Hi!
>
> I've started working on improving the quality of the manual pages for
> coreutils, as I promised some time ago I'd do. The work is --for the
> moment-- in the 'coreutils' branch of the Linux man-pages repo. Once
> I finish, they won't be auto-generated from --help anymore.
>
> <https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/log/?h=coreutils>
>
> We'll talk about incorporation to the coreutils.git repo later.
For reference, it was previously discussed at:https://lists.gnu.org/archive/html/coreutils/2025-09/msg00151.html
For clarifications on any details, please see the full documentation
for any command at the link at the bottom of the coreutils man page.
E.g. `man vdir` references https://www.gnu.org/software/coreutils/vdir
Also note that since v9.10 each coreutils man page has deep links
from each option in the man page to the corresponding description
in the full documentation. That is something that could be maintained
in any forked man pages.
cheers,
Padraig
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Hand-written manual pages for GNU coreutils
2026-07-18 17:02 ` Hand-written manual pages for GNU coreutils Pádraig Brady
@ 2026-07-18 17:46 ` Alejandro Colomar
0 siblings, 0 replies; 5+ messages in thread
From: Alejandro Colomar @ 2026-07-18 17:46 UTC (permalink / raw)
To: Pádraig Brady; +Cc: coreutils, linux-man
[-- Attachment #1: Type: text/plain, Size: 2407 bytes --]
Hi Pádraig,
On 2026-07-18T18:02:43+0100, Pádraig Brady wrote:
> On 18/07/2026 16:13, Alejandro Colomar wrote:
> > Hi!
> >
> > I've started working on improving the quality of the manual pages for
> > coreutils, as I promised some time ago I'd do. The work is --for the
> > moment-- in the 'coreutils' branch of the Linux man-pages repo. Once
> > I finish, they won't be auto-generated from --help anymore.
> >
> > <https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/log/?h=coreutils>
> >
> > We'll talk about incorporation to the coreutils.git repo later.
>
> For reference, it was previously discussed at:https://lists.gnu.org/archive/html/coreutils/2025-09/msg00151.html
> For clarifications on any details, please see the full documentation
> for any command at the link at the bottom of the coreutils man page.
>
> E.g. `man vdir` references https://www.gnu.org/software/coreutils/vdir
The link doesn't work for me at the moment, but I've found the
differences between ls/dir/vdir here:
<https://unix.stackexchange.com/a/344222/341413>.
>
> Also note that since v9.10 each coreutils man page has deep links
> from each option in the man page to the corresponding description
> in the full documentation. That is something that could be maintained
> in any forked man pages.
Yup, I noticed that a moment ago. I'll keep those links. :)
I've done the initial import with this:
$ dpkg -l coreutils \
| tail -n1;
ii coreutils 9.10-1devuan1 amd64 GNU core utilities
$ apt-file show coreutils \
| grep man1/ \
| cut -f2 -d' ' \
| xargs -I{} find {} -type f
| xargs cp -t man1/;
$ apt-file show coreutils \
| grep man8/ \
| cut -f2 -d' ' \
| xargs -I{} find {} -type f
| xargs cp -t man8/;
$ find man -type f \
| grep '\.gz$' \
| xargs gunzip;
It's 9.10, so I guess it has everything. If there's any page that is
not available in Devuan, or there's any change in git that you haven't
released yet and want to include, just let me know.
Have a lovely day!
Alex
> cheers,
> Padraig
--
<https://www.alejandro-colomar.es>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-07-18 18:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-18 15:13 Hand-written manual pages for GNU coreutils Alejandro Colomar
2026-07-18 15:42 ` ls/dir/vdir(1) Alejandro Colomar
2026-07-18 18:15 ` ls/dir/vdir(1) Ivan Sokolov
2026-07-18 17:02 ` Hand-written manual pages for GNU coreutils Pádraig Brady
2026-07-18 17:46 ` Alejandro Colomar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox