[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-hackers] submission of argopt, an alternative getopt library -
From: |
jules |
Subject: |
[Savannah-hackers] submission of argopt, an alternative getopt library - savannah.nongnu.org |
Date: |
Thu, 15 Jan 2004 07:11:58 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20040105 |
A package was submitted to savannah.nongnu.org
This mail was sent to address@hidden, address@hidden
Jules Colding <address@hidden> described the package as follows:
License: lgpl
Other License:
Package: argopt, an alternative getopt library
System name: argopt
Type: non-GNU
Description:
This project grew out of frustration with getopt(3). getopt(3) is, in my
personal opinion, not paticularly well designed. There is a confusing array of
possible program argument syntaxes, especially the artificial distinction
between long and short options. Consider the following two options:
--dosomething
-d
Invoking your program with "a.out -d" is ambigious. getopt(3) would always
assume that you actually ment "-d", but what if you simply forgot an extra "-"?
Removing the distinction between long and short options would make it safer to
specify un-ambigious options, and IMHO is a cleaner design.
Another design issue is the use of magical numerical constants in getopt(3)
function calls.
All of these issues are solved by implementing an alternative library, named
argopt(3). argopt(3) are therefore presented as an alternative for getopt(3)
that I would like to make available for free software developers.
The library is fully implemented and tested. I do not have an URL to give you,
but I would like to send a tar-ball by email, if possible.
Best regards,
jules
Other Software Required:
Other Comments:
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Savannah-hackers] submission of argopt, an alternative getopt library - savannah.nongnu.org,
jules <=