[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: program parameters under MSYS?

From: Earnie Boyd
Subject: Re: program parameters under MSYS?
Date: Fri, 25 Apr 2003 07:42:49 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130

Graff_Zoltan wrote:

Here is a little program (param.c):

#include <stdio.h>
main( int argc, char* argv[])
{   int cnt;
    for( cnt=0; cnt<argc; cnt++ )
        printf("%s ",argv[cnt]);
    return 0;

I compiled it with MINGW under MSYS.

I tried running using CMD.EXE, in CYGWIN and in MSYS:

    param.exe x /y -z

The results:

WinXP:     PARAM.EXE x /y -z
Cygwin:    c:\tmp\PARAM.EXE x /y -z
MSYS:      c:\tmp\PARAM.EXE x C:/program files/msys/1.0/y -z

Is it good?

My opinion no. It's on my round tuit list to fix for MSYS. Note, this is OT for this list. If you wish to discuss it further please use address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]