ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It's mostly used on IBM mainframes. In AIX, I guess. The only use on Linux I'm aware of is as embedded interpreter for THE (The Hessling Editor) which is a clone of XEDIT/Kedit (or, as N. Bezroukov calls them Eastern Orthodox Editors).
Yes, Regina is an implementation of REXX, written by Mark Hessling, the author of THE, and widely available on Linux. The package is usually named Regina-REXX, regina-rexx or rexx-regina to differentiate it from an unrelated mathematical software also named Regina.
There are other REXX implementations as well. E.g., ooRexx is available in OpenSUSE and Arch AUR.
I used REXX on the Linux platform in the past but phased over to BASH. This happened so long ago that I cannot remember all the reasons for making the switch.
On a mainframe REXX programs can have Pipes intermixed with the REXX code. "Pipes" meant CMS Pipelines which is similar to (but more powerful than) Linux pipes.
On the Linux platform REXX programs can have Linux pipes intermixed with the REXX code but it is clumsy.
This must be mentioned: my programming is strictly recreational so my evaluation of the two languages might be different from that of a professional.
Yeah, I used it on mainframes, and arexx on the Amiga back in the day. I can't remember it being on AIX, but it might be. It was ok as far as scripting languages go (and much nicer than CLIST on mainframes/TSO) but we have perl/python on UNIX so I guess it never caught hold over here in 'NIXland.
The concept of being able to 'address' commands to other applications was nice, but they had to support it, and not many ever did, which is a shame.
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803
Rep:
Quote:
Originally Posted by bhyeti
Has anyone ever used this?
Thanks
Man.. that brings back some memories. It's been around for a while. It was alternate scripting/macro language on VM/CMS back when I was banging away on that (in the '80s). I never saw much need for it as EXEC2 did everything I needed to do at the time.
Let me guess: Someone's proposing using it in the Linux kernel? :^D
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803
Rep:
Quote:
Originally Posted by shruggy
... which is a clone of XEDIT/Kedit ...
[heh] XEDIT and the IBM FORTRAN H compiler... I used to eat/sleep/dream those while working for a Univ. I had so many weird EXEC and XEDIT macros on my VM that people were afraid to touch my CMS account. I left the Univ. for a couple of years and got the same VM when I came back with my old environment intact. (Too bad I'd become a DEC guy by then and had little use for it.)
I was talking to some guys about running COBOL in Docker and asked them what would they use if the needed a scripting language, one guy said REXX and the rest said Bash.
REXX was and still is a very interesting language in how it handles variable references which I haven't since seen in any other language. It was very solidly implemented, very flexible, and vastly superior to EXEC2. One of the earliest components of what evolved into "IRC = Internet Relay Chat" was written in REXX.
Last edited by sundialsvcs; 05-04-2021 at 12:57 PM.
I hope that I didn't teach that class, Jefro ... but maybe I did.
All I can say is, "the designers of REXX impressed the hell out of me." And especially when I took a peek at the underlying implementation.
I must say that today I am very much surprised(!) that their ideas didn't gain more traction than (I think ...) they did. Or (I think ...) they should have.
REXX was also included in OS/2. I tinkered with a bit in the early to mid 90's
Quote:
Originally Posted by sundialsvcs
All I can say is, "the designers of REXX impressed the hell out of me." And especially when I took a peek at the underlying implementation.
I must say that today I am very much surprised(!) that their ideas didn't gain more traction than (I think ...) they did. Or (I think ...) they should have.
My feelings about OS/2. Was always superior to Windows.
Last edited by dogpatch; 05-13-2021 at 04:19 PM.
Reason: add quote and 2nd comment
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.