On 9/19/25 7:26 AM, Andreas Kähäri wrote:

The bug here seems to be that the "--help" long option provokes a
behaviour from some built-ins that is not documented.

Such as?

To get the help text, one should use "help builtin_name"
(this also works for built-ins like "[" and "echo" that do not recognize
"--help").  This is the point of the "help" built-in.

This is true, but the --help option is part of the GNU coding standards.
(I drew the line at adding --version to every builtin.)

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [email protected]    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

  • Re: builtin_name ... Chet Ramey
    • Re: builtin_... Lawrence Velázquez
      • Re: buil... Chet Ramey
        • Re: ... pourko--- via Bug reports for the GNU Bourne Again SHell
          • ... Chet Ramey
            • ... pourko--- via Bug reports for the GNU Bourne Again SHell
            • ... Chet Ramey
            • ... pourko--- via Bug reports for the GNU Bourne Again SHell
            • ... Chet Ramey
            • ... pourko--- via Bug reports for the GNU Bourne Again SHell
    • Re: builtin_... Andreas Kähäri

Reply via email to