[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Command Line Parsing?
- From: Coda Highland <chighland@...>
- Date: Mon, 11 Apr 2016 13:38:50 -0700
On Mon, Apr 11, 2016 at 1:12 PM, Petite Abeille
>> On Apr 11, 2016, at 9:58 PM, Coda Highland <email@example.com> wrote:
>> Define "POSIX-compliant”
> But really, no hairsplitting here.
> Anyway, what about something like docopt?
> Any Lua implementation worthwhile considering?
> The interweb comes a bit short.
Okay, fair enough, I suppose what I really meant is that while POSIX
defines the behavior of getopt, getopt is not standardized as the
de-facto command line parsing behavior. Most GNU tools don't comply
with it strictly (--long-options aren't POSIX) and plenty of common
tools don't follow either GNU or POSIX conventions (X uses
-longoptions, for example).
So the question really was, what style of command line parsing is