help-bash
[Top][All Lists]
Advanced

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

Re: Handling getopt for option without optional argument value


From: Chet Ramey
Subject: Re: Handling getopt for option without optional argument value
Date: Fri, 23 Jul 2021 13:09:48 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.12.0

On 7/23/21 1:00 PM, lisa-asket@perso.be wrote:
Good Evening Chet,

An maintainer of bash, I want to suggest an improvement to the capability of bash built-in getopt to also handle long options, or another implementation with a different name if
you are worried that the changes could break people's scripts.

How would you propose adding the specification of these long options to the
existing getopts argument syntax in a compatible way?

--
``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]