bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH 4/9] bashgetopt: define long option shortener function


From: Chet Ramey
Subject: Re: [PATCH 4/9] bashgetopt: define long option shortener function
Date: Wed, 8 May 2024 09:56:56 -0400
User-agent: Mozilla Thunderbird

On 5/8/24 4:37 AM, Koichi Murase wrote:
2024年5月8日(水) 8:11 Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>:
Some builtins do support long options, even though it seems
to not be documented.

I didn't know the `type' builtin recognizes those forms.

Backwards compatibility from the ancient past. Even back then (1989),
`type' was the only builtin that supported any kind of long option;
no other builtins ever have.

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




reply via email to

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