> ...  The conclusion is that something similar must be done before calling 
> getopt in rpm to process macro parameters with quotes.

There is already a function named 
[`splitQuoted()`](https://github.com/rpm-software-management/rpm/blob/51c596a6c893824d459ddc6ac28ea28e9f391bd4/rpmio/macro.c#L963),
 which splits the arguments, currently only separated by space and tabs.

It looks like a candidate for processing quotes.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2449#issuecomment-1578336162
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2449/c1578336...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to