Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

The test of intelligent tinkering is to save all the parts. -- Aldo Leopold


devel / comp.lang.rexx / Re: Does using rxqueue always UPPERCASE all of the text?

SubjectAuthor
* Does using rxqueue always UPPERCASE all of the text?Michael Lueck
`* Re: Does using rxqueue always UPPERCASE all of the text?Rick McGuire
 `- Re: Does using rxqueue always UPPERCASE all of the text?Michael Lueck

1
Does using rxqueue always UPPERCASE all of the text?

<9387fbe3-5ecf-4601-ae69-10e35f2df6ben@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=75&group=comp.lang.rexx#75

  copy link   Newsgroups: comp.lang.rexx
X-Received: by 2002:a05:6214:4c01:b0:63d:30b8:ff8b with SMTP id qh1-20020a0562144c0100b0063d30b8ff8bmr21098qvb.13.1695205639613;
Wed, 20 Sep 2023 03:27:19 -0700 (PDT)
X-Received: by 2002:a54:4086:0:b0:3ad:f525:52bf with SMTP id
i6-20020a544086000000b003adf52552bfmr324119oii.1.1695205639370; Wed, 20 Sep
2023 03:27:19 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.rexx
Date: Wed, 20 Sep 2023 03:27:19 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=99.24.175.36; posting-account=JeAllAoAAAAhhN4UulMiDx9njcilMlPX
NNTP-Posting-Host: 99.24.175.36
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9387fbe3-5ecf-4601-ae69-10e35f2df6ben@googlegroups.com>
Subject: Does using rxqueue always UPPERCASE all of the text?
From: wurlitzer@gmail.com (Michael Lueck)
Injection-Date: Wed, 20 Sep 2023 10:27:19 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2287
 by: Michael Lueck - Wed, 20 Sep 2023 10:27 UTC

Greetings,

Using ooRexx v5.0 I was reminded that in my use of rxqueue, always the text ends up UPPERCASE. Example:

CheckEXIF: procedure expose LDSLogging
THISPhotoFile = arg(1)

THISPhotoDate = ''
THISCameraBrand = ''

EXIFqueue = RXqueue('create')
OLDqueue = RXqueue('set', EXIFqueue)
'exif "'THISPhotoFile'" | /usr/local/bin/rxqueue ' EXIFqueue

do queued()
pull THISline
if THISline~left(20) = 'DATE AND TIME (ORIGI' then
do
THISPhotoDate = THISline~substr(22, 10)~changeStr(':', '')
end
if THISline~left(20) = 'MANUFACTURER' then
do
THISCameraBrand = THISline~substr(22, 1)~upper()
end
end
rc = RXqueue('delete', EXIFqueue)
trash = RXqueue('set', OLDqueue)

THISreturn = THISPhotoDate || THISCameraBrand
..output~lineout(THISreturn)
return THISreturn

I must seek for 'DATE AND TIME (ORIGI' and MANUFACTURER' instead of the exact case I see the program output. I would think passing the data through rxqueue is responsible for the UPPERCASE transformation. Or is the do queued(), pull THISline responsible and the data really is within rxqueue CasePreserved?

I am thankful,
Michael Lueck

Re: Does using rxqueue always UPPERCASE all of the text?

<bd138643-19df-4d54-88f6-67d4aec5e6a4n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=76&group=comp.lang.rexx#76

  copy link   Newsgroups: comp.lang.rexx
X-Received: by 2002:ad4:5993:0:b0:656:1d0b:1de0 with SMTP id ek19-20020ad45993000000b006561d0b1de0mr26891qvb.6.1695217021475;
Wed, 20 Sep 2023 06:37:01 -0700 (PDT)
X-Received: by 2002:a05:6808:1a20:b0:3ad:adea:3f11 with SMTP id
bk32-20020a0568081a2000b003adadea3f11mr1322965oib.11.1695217021312; Wed, 20
Sep 2023 06:37:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.rexx
Date: Wed, 20 Sep 2023 06:37:01 -0700 (PDT)
In-Reply-To: <9387fbe3-5ecf-4601-ae69-10e35f2df6ben@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=24.151.69.205; posting-account=gi3GZAoAAACIbgt-QdEIHlbWxwNtCjVA
NNTP-Posting-Host: 24.151.69.205
References: <9387fbe3-5ecf-4601-ae69-10e35f2df6ben@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bd138643-19df-4d54-88f6-67d4aec5e6a4n@googlegroups.com>
Subject: Re: Does using rxqueue always UPPERCASE all of the text?
From: object.rexx@gmail.com (Rick McGuire)
Injection-Date: Wed, 20 Sep 2023 13:37:01 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2694
 by: Rick McGuire - Wed, 20 Sep 2023 13:37 UTC

On Wednesday, September 20, 2023 at 6:27:20 AM UTC-4, Michael Lueck wrote:
> Greetings,
>
> Using ooRexx v5.0 I was reminded that in my use of rxqueue, always the text ends up UPPERCASE. Example:
>
> CheckEXIF: procedure expose LDSLogging
> THISPhotoFile = arg(1)
>
> THISPhotoDate = ''
> THISCameraBrand = ''
>
> EXIFqueue = RXqueue('create')
> OLDqueue = RXqueue('set', EXIFqueue)
> 'exif "'THISPhotoFile'" | /usr/local/bin/rxqueue ' EXIFqueue
>
> do queued()
> pull THISline

rxqueue doesn't uppercase, but PULL does. Use PARSE PULL instead.

> if THISline~left(20) = 'DATE AND TIME (ORIGI' then
> do
> THISPhotoDate = THISline~substr(22, 10)~changeStr(':', '')
> end
> if THISline~left(20) = 'MANUFACTURER' then
> do
> THISCameraBrand = THISline~substr(22, 1)~upper()
> end
> end
> rc = RXqueue('delete', EXIFqueue)
> trash = RXqueue('set', OLDqueue)
>
> THISreturn = THISPhotoDate || THISCameraBrand
> .output~lineout(THISreturn)
> return THISreturn
>
>
> I must seek for 'DATE AND TIME (ORIGI' and MANUFACTURER' instead of the exact case I see the program output. I would think passing the data through rxqueue is responsible for the UPPERCASE transformation. Or is the do queued(), pull THISline responsible and the data really is within rxqueue CasePreserved?
>
> I am thankful,
> Michael Lueck

Re: Does using rxqueue always UPPERCASE all of the text?

<44c684f5-849e-419c-b5d3-d2e5a5fa66fan@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=77&group=comp.lang.rexx#77

  copy link   Newsgroups: comp.lang.rexx
X-Received: by 2002:a05:620a:4804:b0:76f:b4e:e703 with SMTP id eb4-20020a05620a480400b0076f0b4ee703mr34928qkb.14.1695225499492;
Wed, 20 Sep 2023 08:58:19 -0700 (PDT)
X-Received: by 2002:a05:6808:158c:b0:3a8:4611:5d13 with SMTP id
t12-20020a056808158c00b003a846115d13mr1377894oiw.3.1695225499064; Wed, 20 Sep
2023 08:58:19 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.rexx
Date: Wed, 20 Sep 2023 08:58:18 -0700 (PDT)
In-Reply-To: <bd138643-19df-4d54-88f6-67d4aec5e6a4n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=99.24.175.36; posting-account=JeAllAoAAAAhhN4UulMiDx9njcilMlPX
NNTP-Posting-Host: 99.24.175.36
References: <9387fbe3-5ecf-4601-ae69-10e35f2df6ben@googlegroups.com> <bd138643-19df-4d54-88f6-67d4aec5e6a4n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <44c684f5-849e-419c-b5d3-d2e5a5fa66fan@googlegroups.com>
Subject: Re: Does using rxqueue always UPPERCASE all of the text?
From: wurlitzer@gmail.com (Michael Lueck)
Injection-Date: Wed, 20 Sep 2023 15:58:19 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1645
 by: Michael Lueck - Wed, 20 Sep 2023 15:58 UTC

On Wednesday, September 20, 2023 at 9:37:02 AM UTC-4, Rick McGuire wrote:
> On Wednesday, September 20, 2023 at 6:27:20 AM UTC-4, Michael Lueck wrote:
> >
>> >
> > do queued()
> > pull THISline
> rxqueue doesn't uppercase, but PULL does. Use PARSE PULL instead.

Excellent! Indeed using PARSE PULL preserves the caseness of the data. Thank you, Rick!

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor