Re: getoptlong, getopt, parseopt, which one to use for comma

There seems to be several options out there. Which one
should be used
when creating command line tools?

it keeps things exciting to mix them up in unpredictable ways

  • preferably in obfusicated code.

:wink:

seriously - use getoptlong for simple stuff and optparse if
your needs are more elaborate.

Use getopt for simple stuff or commandline if your needs are more
elaborate.

:smiley:

Dan

Iā€™m not sure what you mean. I know what getopt is but what do you mean
by use commandline?

commandline is in RubyForge. See
http://rubyforge.org/projects/optionparser/.