[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: How to getopt?
- From: Steve Litt <slitt@...>
- Date: Wed, 22 Dec 2010 19:49:33 -0500
Hi all,
I'm rewriting my UMENU program
(http://www.troubleshooters.com/umenu/index.htm) in Lua, and so far so good.
So far, I see little reason to ever use Perl again :-)
UMENU uses Perl's getopt_long. I've read all sorts of things about Lua's
Getopt facility, and so far it seems like yes, there's one in the standard
package, but some are saying it doesn't work all that well and a lot of people
are writing their own getopt facilities.
Ideally, I'd like my Lua based UMENU to work with plain, ordinary, everyone
can install it Lua, rather than depending on special packages the user needs
to install, so if the one in the standard library works, that's what I'd like
to use. I could also just manually check for arguments -- there aren't that
many options to UMENU.
So what are you all using for Getopt or preferably Getopt_long in Lua?
Thanks
SteveT
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt