Sujet : Re: Useless Use Of Regexes
De : wayne (at) *nospam* nospam.invalid (Wayne)
Groupes : comp.os.linux.miscDate : 01. Apr 2025, 04:54:51
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vsfo2c$24h22$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
User-Agent : Mozilla Thunderbird
On 3/27/2025 5:05 PM, Lawrence D'Oliveiro wrote:
On Thu, 27 Mar 2025 16:51:16 +0100, Marc Haber wrote:
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>
On Thu, 27 Mar 2025 07:58:32 +0100, Marc Haber wrote:
>
You could have it easier with getopt ...
>
Last I checked, getopt doesn’t do long options.
>
You should check again.
ldo@theon:~> help getopt
getopts: getopts optstring name [arg ...]
Parse option arguments.
...
Note that getopt is different from getopts!
-- Wayne