bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

doc-strings of the 'command' built-in, as output by help


From: Andrew Davis
Subject: doc-strings of the 'command' built-in, as output by help
Date: Mon, 25 Nov 2024 14:35:54 -0500

When running 'help command' in the shell, the output contains:

>       -v    print a description of COMMAND similar to the `type' builtin
>       -V    print a more verbose description of each COMMAND

This seems to be opposite to the actual behaviour of 'command', in which
'-V' (capital V) produces output similar to 'type'. The text within the
Bash man-page appears to be correct.

Other info:

- version number and release status of Bash: 5.2.32(1)-release
(x86_64-pc-linux-gnu)
- The machine and OS that it is running on: Debian trixie (testing)
container running under LXD on ChromeOS

Best,
Andrew

--
Andrew D. Davis, PhD
PGP Key <https://www.openpgp.org/about>: 0xC1665F6A


reply via email to

[Prev in Thread] Current Thread [Next in Thread]