| NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | SEE ALSO | AUTHORS | COLOPHON | |
|  | 
RPMLUA(8)                                                       RPMLUA(8)
       rpmlua - RPM Lua interpreter
       rpmlua [{-e|--execute} “STATEMENT”] [{-i|--interactive}]
       [SCRIPT_FILE] [arg1 ...]
       Run RPM internal Lua interpreter.
       Note: indexes start at 1 in Lua, so the program name is at arg[1]
       instead of the more customary index zero.
       -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.
       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
       lua(1), popt(3), getopt(3), rpm(8)
       http://www.rpm.org/ <URL:http://www.rpm.org/>
              Panu Matilainen <pmatilai@redhat.com>
       This page is part of the rpm (RPM Package Manager) project.
       Information about the project can be found at 
       ⟨https://github.com/rpm-software-management/rpm⟩.  It is not known
       how to report bugs for this man page; if you know, please send a
       mail to man-pages@man7.org.  This page was obtained from the
       project's upstream Git repository
       ⟨https://github.com/rpm-software-management/rpm.git⟩ on
       2025-02-02.  (At that time, the date of the most recent commit
       that was found in the repository was 2025-01-31.)  If you discover
       any rendering problems in this HTML version of the page, or you
       believe there is a better or more up-to-date source for the page,
       or you have corrections or improvements to the information in this
       COLOPHON (which is not part of the original manual page), send a
       mail to man-pages@man7.org
                             17 December 2021                   RPMLUA(8)