RPMLUA
Section: (8)
Updated: 17 December 2021
Index
Return to Main Contents
NAME
rpmlua - RPM Lua interpreter
SYNOPSIS
rpmlua [{-e|--execute}
"STATEMENT"] [{-i|--interactive}]
[SCRIPT_FILE] [arg1 ...]
DESCRIPTION
Run RPM internal Lua interpreter.
- -i|--interactive
-
Run an interactive session after executing optional script or statement.
- -opts=OPTSTRING
-
Perform getopt(3) option processing on the passed arguments according to
OPTSTRING.
- -e|--execute
-
Execute a Lua statement before executing optional script.
EXAMPLES
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
SEE ALSO
-
lua(1)
popt(3),
getopt(3),
rpm(8),
http://www.rpm.org/ <URL:http://www.rpm.org/>
AUTHORS
-
Panu Matilainen <pmatilai@redhat.com>
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- EXAMPLES
-
- SEE ALSO
-
- AUTHORS
-
This document was created by
man2html,
using the manual pages.
Time: 04:02:19 GMT, April 28, 2024