[Rpm-maint] [rpm-software-management/rpm] Refactor parameter handling of builtin macros (PR #1809)
Michael Schroeder
notifications at github.com
Mon Oct 25 10:08:37 UTC 2021
%expand is not ME_PARSE, so it grabs the args till the end of line. It also does arg splitting and just uses the first arg, which is maybe not what we want:
```
./rpm --eval '%expand hello world'
hello
```
We could disable the arg splitting with some new flag, but I don't think builtins should be too different to normal macros. People anyway use `%{macro:arg}` where we do not split.
%lua is somewhat special because we do not want macro expansion to happen at all.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1809#issuecomment-950754798
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20211025/70826335/attachment.html>
More information about the Rpm-maint
mailing list