Sujet : Re: Local Versus Global Command Options
De : arne (at) *nospam* vajhoej.dk (Arne Vajhøj)
Groupes : comp.os.vmsDate : 19. Feb 2025, 22:06:10
Autres entêtes
Organisation : SunSITE.dk - Supporting Open source
Message-ID : <67b647c3$0$712$14726298@news.sunsite.dk>
References : 1 2 3 4 5 6
User-Agent : Mozilla Thunderbird
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