[Rpm-maint] [rpm-software-management/rpm] Rpmlua - missing features (Issue #2095)
Panu Matilainen
notifications at github.com
Tue Jun 14 10:29:51 UTC 2022
I don't know what upstream Lua does for shebang, the problem is that `#` is not a comment character in Lua. Various tricks around this exist, eg: https://lua-users.org/lists/lua-l/2015-01/msg00633.html
rpmlua does accept arguments but has its own quirks, namely that any arguments must go after --. IIRC this is exactly the same as with normal Lua, it's just not so prominent when you use a shebang. So to call rpmlua, use `rpmlua <script> -- <options>`. Couple of examples in https://lua-users.org/lists/lua-l/2015-01/msg00633.html
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2095#issuecomment-1155005152
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2095/1155005152 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220614/b114ec35/attachment.html>
More information about the Rpm-maint
mailing list