RPMLUA(8) | RPMLUA(8) |
rpmlua - RPM Lua interpreter
rpmlua [{-e|--execute} “STATEMENT”] [{-i|--interactive}] [SCRIPT_FILE] [arg1 ...]
Run RPM internal Lua interpreter.
Execute test.lua script file:
rpmlua test.lua
Execute args.lua script file with option processing:
rpmlua –opts=ab:c args.lua – 1 2 3 -c -b5
Execute single statement to compare rpm versions:
rpmlua -e “print(rpm.ver(`1.0') < rpm.ver(`2.0'))”
Run an interactive session:
rpmlua -i
http://www.rpm.org/ <URL:http://www.rpm.org/>
Panu Matilainen <pmatilai@redhat.com>
17 December 2021 |