[PD-dev] run-up to release 0.43

Hans-Christoph Steiner hans at at.or.at
Tue Aug 31 22:28:57 CEST 2010


On Tue, 2010-08-31 at 22:04 +0200, András Murányi wrote:
> On Tue, Aug 31, 2010 at 4:02 AM, Hans-Christoph Steiner
> <hans at at.or.at> wrote:
>         
>         That's a bug in the command line flag parsing, you should file
>         a bug
>         report.  IMHO, the whole flag parser should be rewritten using
>         on of the
>         standard opt/flag parsing libraries.  getopt is in libc but is
>         more
>         limited, I am sure there is a GNU parser that handles -s short
>         and
>         --long options well.
>         
> 
> http://sourceforge.net/projects/argopt/ (inactive project, wonder if
> it's usable yet)
> http://directory.fsf.org/project/popt/ (x11 licence)
> i don't know is this is serious enough: http://wiki.tcl.tk/22050 

Well, we'd want it to be something that is already widely deployed, like
something in GNU libc or POSIX.  popt looks pretty well used, at least
on Debian/Ubuntu, but I think getopt() and getopt_long() are just about
everywhere by default now.

.hc





More information about the Pd-dev mailing list