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 11:34:40 -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 11:17 AM, lisa-asket@perso.be wrote:
Tho approach should be to fix getopt if there are problems with it, no?

Why, when `getopts' exists and is a standard builtin?

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/getopts.html#tag_20_54

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