From: Ivan Sokolov <sugrob9000aero@gmail.com>
To: Alejandro Colomar <alx@kernel.org>
Cc: coreutils@gnu.org, linux-man@vger.kernel.org
Subject: Re: ls/dir/vdir(1)
Date: Sat, 18 Jul 2026 21:15:53 +0300 [thread overview]
Message-ID: <20260718211553.3cf94325@aabbin> (raw)
In-Reply-To: <alueABs-ZbwayZdu@devuan>
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.
next prev parent reply other threads:[~2026-07-18 18:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Ivan Sokolov [this message]
2026-07-18 17:02 ` Hand-written manual pages for GNU coreutils Pádraig Brady
2026-07-18 17:46 ` Alejandro Colomar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260718211553.3cf94325@aabbin \
--to=sugrob9000aero@gmail.com \
--cc=alx@kernel.org \
--cc=coreutils@gnu.org \
--cc=linux-man@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox