Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should also borrow from REXX #5

Open
carlsonj opened this issue Nov 2, 2021 · 0 comments
Open

Should also borrow from REXX #5

carlsonj opened this issue Nov 2, 2021 · 0 comments

Comments

@carlsonj
Copy link

carlsonj commented Nov 2, 2021

In REXX, any unrecognized command is automatically passed back to the hosting environment for execution. So, if you run a REXX program from the command line, any unrecognized REXX statements are passed back to the command line interpreter for execution. If you run a REXX program from inside your text editor, then unrecognized statements are passed back to the editor to execute. This is a very powerful scheme that allows REXX to be used as a scripting language for just about any tool that has some set of text-based commands.

Even more powerful when you consider that typos in your REXX program inadvertently become other programs that are suddenly invoked on your behalf.

In BS, it'd be nice if there were a way to cause commands to be sent back to the hosting environment (your ksh shell, your editor, et cetera), just like REXX. Better still if it also did this without warning and managed to cover up for trivial user errors in the process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant