On Thursday, February 21, 2008, at 01:52AM, "Ralf S. Engelschall" <email@example.com> wrote:
>Yes, the RPM macro parser uses positional options and does not support
>permutations of options and arguments (as it was based on getopt and
>because it makes sense for macros anyway). In latest RPM 5.1.DEVEL
>it actually uses POPT and could support permutations but I strongly
>recommend to keep it running like getopt there as else it would break
>lots of macros, I guess.
Correction: rpm-5.1.DEVEL is still using getopt, but I'll switch
to POPT soon after I don't have to wrestle with POPT_ARG_ARGV
(aswide) Sigh, POPT_ARG_ARGV will take years to use, life
used to be so so simple when popt was internal to rpm ...
73 de Jeff
Received on Thu Feb 21 17:30:00 2008