[Mono-list] Command Line Parsing
Abe Gillespie
abe.gillespie at gmail.com
Tue Nov 8 12:32:51 EST 2005
Thanks for the help, this is great stuff! I'll probably go with the
code option just to make portability a breeze.
Any thoughts on the bug (maybe?) I encountered. I'll file it if
someone confirms it.
Thanks again!
-Abe
On 11/8/05, Francisco T. Martinez <martinf at mfconsulting.com> wrote:
> Abe Gillespie wrote:
> >1. Is there a utility class out there that helps parse command line
> >arguments in a standard way?
> >2. I think I ran into a bug playing around with the command line.
> >When I send an asterisk "*" as one of the arguments I get some weird
> >stuff. On Windows it seems to work ok. Try the fsollowing with an
> >asterisk as one of the args:
> >
> >using System;
> >class Program
> >{
> > static void Main(string[] args)
> > {
> > foreach (string s in args)
> > Console.WriteLine(s);
> > }
> >}
> >
> >Thanks.
> >-Abe
> >
> I have been using Mono.GetOptions from some time, and I think is very
> easy to use and quite flexible. Some other Mono Tools and projects use
> it as well. (Thank you Rafael Teixeira)
>
> Hope this help.
>
> Paco
>
More information about the Mono-list
mailing list