Like vi, awk is a tool that is ubiquitous, at least on Unix and Unix-like 
systems. Go, Java, Lua, Perl, Python, Rexx and Ruby might not be there, but awk 
almost certainly will be.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
Farley, Peter x23353 [[email protected]]
Sent: Wednesday, June 29, 2022 7:51 PM
To: [email protected]
Subject: Re: REXX outside TSO

Not intending to continue this thread, but awk is a favorite tool of mine.  You 
certainly can run z/OS awk in a fairly simple batch JCL, though I have not 
tried it under TSO or batch TSO.

I far prefer the GNU awk (gawk) on my personal machines (Win10 64-bit), but 
z/OS awk is (mostly) POSIX awk, so most of the parts you want are there.  
Significantly lacking from z/OS awk are the extra time and date functions 
provide by gawk, and a few other niceties, but by and large it "just works".

For Windows gawk binaries (and a lot of other useful *ix tools) I find this 
site is the best:

https://secure-web.cisco.com/1qxqIjiRX842h5WCEkLIpZOHHzp0EVbiwn0djI_7anFcQafLrya8FAiMLUhAomwBc3AuyEa-7uDBZ5GyIb2MhWRcJVa35d-_1lZACsnf7KKZmXhWDcomp0Rt6mj1p_huKtwD47rKJUXvg6Io11Y-wmfAbduPdIf5J9YLiV2Q0dn1hWmKaNNiK8V1BHFRi8zPYXLCajm9YHoXMUotVsUBRgqe1fKLZuCqMq-cu1M_mBYXIN3KNzcGIzYmET1EzPyZ2ml1vkaw4YdnxQ0USJ4GAagl-xk20d9lgMh9LaRhANtt_Pj55X6yB5JfO_4DFYNmCc8dn-iHez2oRotv86kdgtaaw_4mgQSVsQniMVTyRF_3Vq-ygc0E7mmwmsO2EqHT9FxDnnAsmDk6p44-Ogx9XIwQwjWXkVY4Zwk4upJI0VZ6YxCXSX4MY6tkMnOjWIGbQpXk6Q0qP9KBFKOP4Z4xxxQ/https%3A%2F%2Fsourceforge.net%2Fprojects%2Fezwinports%2Ffiles%2F

Peter

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Bob 
Bridges
Sent: Wednesday, June 29, 2022 7:44 PM
To: [email protected]
Subject: Re: REXX outside TSO

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).

---

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to