[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: WANTED: POSIX compatible getopt
- From: Rob Kendrick <lua-l@...>
- Date: Fri, 9 Jan 2009 15:55:02 +0000
On Fri, 09 Jan 2009 17:48:17 +0200
Aleksey Cheusov <cheusov@tut.by> wrote:
> Most applications written in C use system getopt(3) or getopt_long(3)
> and therefore follow these guidelines. These guidelines show how
> applications usually work, not only standardized `cat', `cut', `grep'
> etc. and I think apps written in Lua shell follow these rules too
> _by default_ just like all C application.
Not like all C applications. Many do their own parsing. And you
seemed to be suggesting earlier that programs that didn't follow these
guidelines were somehow not POSIX compliant.
> Unfortunately I don't see such module for Lua.
Things don't exist until somebody creates them. As I said earlier, I
suggest you write a binding to BSD's long getopt implementation. It
should be trivial.
--
B.
- References:
- WANTED: POSIX compatible getopt, Aleksey Cheusov
- Re: WANTED: POSIX compatible getopt, Javier Guerra
- Re: WANTED: POSIX compatible getopt, Aleksey Cheusov
- Re: WANTED: POSIX compatible getopt, Rob Kendrick
- Re: WANTED: POSIX compatible getopt, Aleksey Cheusov
- Re: WANTED: POSIX compatible getopt, Rob Kendrick
- Re: WANTED: POSIX compatible getopt, Aleksey Cheusov
- Re: WANTED: POSIX compatible getopt, Rob Kendrick
- Re: WANTED: POSIX compatible getopt, Aleksey Cheusov
- Re: WANTED: POSIX compatible getopt, Rob Kendrick
- Re: WANTED: POSIX compatible getopt, Aleksey Cheusov