[Info-vax] Local Versus Global Command Options

Arne Vajhøj arne at vajhoej.dk
Wed Feb 19 16:06:10 EST 2025


On 2/18/2025 11:24 PM, Robert A. Brooks wrote:
> On 2/18/2025 10:03 PM, Dan Cross wrote:
>> I am utterly baffled as to why you continue to regularly
>> engage with this troll.  It's your choice, of course, but
>> getting the backsplatter is unpleasant for rest of us who
>> have already plonked him.
> 
> +1!

I have a different perspective.

The code posted, which I ran on VMS as:

 > $ bash
 > bash-4.4$ QUOTE='"'
 > bash-4.4$ ./test "Hello World" ${QUOTE}Hello World${QUOTE}
 > Hello World
 > "Hello
 > World"
 > bash-4.4$ exit
 > exit

(using VSI's recent VMS x86-64 GNV  kit)

may not be something used in the real world, but it does raise the
question of how to do it in DCL.

And I came up with:

 > $ quote = """"""
 > $ mcr sys$disk:[]test "Hello World" "''quote'"Hello World"''quote'"
 > Hello World
 > "Hello
 > World"

There may be better solutions.

(if anyone knows one please post!)

But it is definitely on topic for c.o.v/I-V.

And maybe (just maybe) it is useful for a current or a future reader.

I do not care much about who raised the question. It doesn't change
being on topic or potential usefulness.

Arne










More information about the Info-vax mailing list