home bbs files messages ]

Just a sample of the Echomail archive

COMPOSVM:

<< oldest | < older | list | newer > | newest >> ]

 Message 262,396 of 264,034 
 =?UTF-8?Q?Arne_Vajh=C3=B8j?= to jayjwa 
 Re: Local Versus Global Command Options 
 17 Feb 25 19:20:57 
 
From: arne@vajhoej.dk

On 2/17/2025 6:46 PM, jayjwa wrote:
> VMS seems to be alone in converting case.
>
> ✔≻ cat cmdlin.c
> /* A program to demo printing of command line args under various OSs. */
> #include 
>
>
> int main( int argc, char *argv[] ) {
>          printf( "Did I hear you say %s?\n", argv[1] );
>          return 0;
> }

> $ cc /version
> Compaq C V6.4-005 on OpenVMS VAX V7.3
> $ cc cmdlin.c
> $ link cmdlin
> $ mcr DUA1:[JAYJWA.PROGRAMMING.C]cmdlin Hello World
> Did I hear you say hello?
> $ mcr DUA1:[JAYJWA.PROGRAMMING.C]cmdlin "Hello World"
> Did I hear you say Hello World?

Yeah. But look at the calendar.

$ mcr []cmdlin Hello World
Did I hear you say Hello?
$ set proc/pars=trad
$ mcr []cmdlin Hello World
Did I hear you say hello?
$ set proc/pars=ext
$ mcr []cmdlin Hello World
Did I hear you say Hello?

Arne

--- SoupGate-DOS v1.05
 * Origin: you cannot sedate... all the things you hate (1:229/2)

<< oldest | < older | list | newer > | newest >> ]


(c) 1994,  bbs@darkrealms.ca