[Mono-list] Command line parsing

Chris Seaton chris at chrisseaton.com
Tue Jan 30 20:27:53 EST 2007


Hi,

I think mono may have a problem with command line parsing.

I'm using svn Mono on OS X. I wrote a program that prints out each  
arg on a line.

$ mono test.exe: a b c
a
b
c

However,

$ mono test.exe a "b c"
a
b
c

That's wrong - I would expect.

a
b c

It's the shell's job to parse the command line isn't it? I'm using  
bash, and other programs, such as Python are getting it right. How is  
mono managing to get it wrong?

Thanks

Chris Seaton


More information about the Mono-list mailing list