On 30/06/2022 7:44 am, Bob Bridges wrote:
I've heard the word "awk", but never been exposed to it. I had the impression,
though, that I've heard of it in the context of Unix; am I mistaken?
Remember, the topic of the moment was whether there's any use for REXX
~outside~ TSO. This was on a Windows system; I'm guessing awk wouldn't be one
of the available tools (even if I knew anything about it, I mean).
Gil says "I nominate ADDRESS SYSCALL and ADDRESS ISREDIT. What other
languages are comparable?" where he conflates a language with a library.
What other languages are comparable? OMG, every language that supports
regular expression or has a PEG library. Hammer and nail again (and again)!
---
Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313
/* Engineers will go without food and hygiene for days to solve a problem. (Other times
just because they forgot.) -from "Are You an Engineer?" */
-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of
Paul Gilmartin
Sent: Wednesday, June 29, 2022 13:06
On Wed, 29 Jun 2022 12:00:12 -0400, Bob Bridges wrote:
... writing a REXX that read the raw firewall extract and created a CSV in
about 20 seconds. REXX makes ~very~ short work of parsing. At the time I
don’t think I knew VBScript, but it surely would have been harder.
For that sort of thing, I generally rely on "awk". PARSE and regex have
considerable overlap.
... Again, I see REXX's most valuable strength as parsing strings.
Occasionally that strength is valuable outside TSO.
I nominate ADDRESS SYSCALL and ADDRESS ISREDIT. What other languages are
comparable? OK. The SYSCALL functions are mostly in C RTL, and ISREDIT
commands callable from HLASM, C, COBOL, ... but harder.
Now that ISPF Edit has regex, it would be precious if it suupported
back-references.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN