Deutsch   English   Français   Italiano  
<67b647c3$0$712$14726298@news.sunsite.dk>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Wed, 19 Feb 2025 16:06:10 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Local Versus Global Command Options
Newsgroups: comp.os.vms
References: <volt3s$33lo1$1@dont-email.me> <vp0qua$1dbh3$1@dont-email.me>
 <vp3dss$1v7kv$3@dont-email.me> <67b54873$0$709$14726298@news.sunsite.dk>
 <vp3hlk$n28$1@reader2.panix.com> <vp3mel$1m224$1@dont-email.me>
Content-Language: en-US
From: =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk>
In-Reply-To: <vp3mel$1m224$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 55
Message-ID: <67b647c3$0$712$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 68e96b6e.news.sunsite.dk
X-Trace: 1739999171 news.sunsite.dk 712 arne@vajhoej.dk/68.14.27.188:55216
X-Complaints-To: staff@sunsite.dk
Bytes: 2242

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