guile-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] getopt-long permits numbers for short options.


From: Dale Mellor
Subject: Re: [PATCH] getopt-long permits numbers for short options.
Date: Tue, 05 Sep 2023 12:08:46 +0100
User-agent: Evolution 3.46.4

On Tue, 2023-09-05 at 08:25 +0200, Janneke Nieuwenhuizen wrote:
> Marius Bakke writes:
> 
> > * module/ice-9/getopt-long.scm (short-opt-rx): Add 0-9.
> 
> Hehe, reminds me of
> 
>    
> https://lists.gnu.org/archive/html/bug-guile/2018-07/msg00009.html
> 
> 

Also note https://debbugs.gnu.org/db/42/42669.html.  You see, your
solution fails if '-1' were supposed to be read literally as a
positional parameter.  The only solution is to make getopt-long more
intelligent in how it applies the pattern specification.

On the whole, both mine and Marius' patches are now years old and the
outstanding bug list is massive; these things are not going to get done
without a sea-change in the project administration.

Dale




reply via email to

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