Alejandro Colomar <[email protected]> writes:

> [[PGP Signed Part:No public key for EB89995CC290C2A9 created at 
> 2026-07-18T17:42:18+0200 using RSA]]
> 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?

Quoting the documentation:


> 10.2 ‘dir’: Briefly list directory contents
> ===========================================
> 
> ‘dir’ is equivalent to ‘ls -C -b’; that is, by default files are
> listed in columns, sorted vertically, and special characters are
> represented by backslash escape sequences.
> 
>    *Note ‘ls’: ls invocation.

> 10.3 ‘vdir’: Verbosely list directory contents
> ==============================================
> 
> ‘vdir’ is equivalent to ‘ls -l -b’; that is, by default files are
> listed in long format and special characters are represented by
> backslash escape sequences.
> 
>    *Note ‘ls’: ls invocation.
-- 
Arsen Arsenović

Attachment: signature.asc
Description: PGP signature

Reply via email to