[Mono-list] Command line parsing

Paolo Molaro lupus at ximian.com
Wed Jan 31 05:35:21 EST 2007

On 01/31/07 Chris Seaton wrote:
> 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
> 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?

It doesn't, because it works correctly and prints:
b c
So you're doing something wrong in your box or not telling everything.


lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better

More information about the Mono-list mailing list