GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
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.

Run an interactive session after executing optional script or statement.
–opts=OPTSTRING
Perform getopt(3) option processing on the passed arguments according to OPTSTRING.
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>
    
17 December 2021

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.