By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,433 Members | 1,702 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,433 IT Pros & Developers. It's quick & easy.

Fully-portable command line parser

P: n/a

I've had a look at "argtable" but I wanna ask if people have had good
experience with it. Is it really 100% portable as it claims to be?
Ever had trouble with it?

I've had a quick look at "getopt" as well, but "argtable" seems to be
more thorough.
Nov 11 '08 #1
Share this Question
Share on Google+
5 Replies


P: n/a
On 11 Nov 2008 at 13:03, Tomás Ó hÉilidhe wrote:
I've had a look at "argtable" but I wanna ask if people have had good
experience with it. Is it really 100% portable as it claims to be?
Ever had trouble with it?

I've had a quick look at "getopt" as well, but "argtable" seems to be
more thorough.
What advantages do you see in argtable? AFAICS, it's just GNU getopt
wrapped in some sugar (aka added complexity).

Nov 11 '08 #2

P: n/a
On Nov 11, 3:03 pm, Toms hilidhe <t...@lavabit.comwrote:
I've had a look at "argtable" but I wanna ask if people have had good
experience with it. Is it really 100% portable as it claims to be?
Ever had trouble with it?
argtable is not written in standard C. (cheched latest version - 2-9.
I've had a quick look at "getopt" as well, but "argtable" seems to be
more thorough.
getopt is provided by another standard, IEEE-1003.1, for which you can
post to comp.unix.programmer.

Why did you make such question when you could have found out yourself?
I did the job *YOU* should have done (download the source and read a
few lines)
Nov 11 '08 #3

P: n/a
On Nov 11, 5:03*am, Toms hilidhe <t...@lavabit.comwrote:
I've had a look at "argtable" but I wanna ask if people have had good
experience with it. Is it really 100% portable as it claims to be?
Ever had trouble with it?

I've had a quick look at "getopt" as well, but "argtable" seems to be
more thorough.
I use my_getopt from here:
http://www.geocities.com/bsittler/
Nov 11 '08 #4

P: n/a
Hi

On Tue, 11 Nov 2008 05:03:49 -0800, Tomás Ó hÉilidhe wrote:
I've had a look at "argtable" but I wanna ask if people have had good
experience with it. Is it really 100% portable as it claims to be? Ever
had trouble with it?
How portable is portable? Do you want something that translates /a:d on
windows into --a=d on GNU?

I use:
http://purposeful.co.uk/software/gopt/

which is very simple.
Nov 12 '08 #5

P: n/a

Never mind I ended up writing my own code for it... didn't turn out to
be half as tedious or time-consuming as a first thought.
Nov 12 '08 #6

This discussion thread is closed

Replies have been disabled for this discussion.