osh-20120604 (latest release)

The latest official release of osh is available via:

What’s new in this release? The following describes the major points. See the CHANGES and CHANGES6 files for full details. There are quite a lot of changes this time around. So, please hold onto your seats :)

Summary of Changes:
This release re-adds the regression test suite. It is a rewrite of the original test suite that I removed years ago (see changes between osh-060124 and osh-20061230 for full details). Doing a 'make check' runs the tests with osh and sh6. This release adds a missing “Command line overflow” diagnostic to osh and sh6 for compatibility. It also adds $# (as synonym for $n) parameter and $? (as synonym for $s) parameter, deprecating $n and $s.

This release adds simple shell variables, allowing the user to 'set' and 'unset' them. In addition, it changes quoting to allow $ substitution within double (") quotes for parameter and variable substitution flexibility. This release also adds '.' as a synonym for 'source' and enables PATH search when opening file in each case.

Last but not least, this release changes the 'setenv' built-in command so that it requires both name and value arguments. It also adds new operators to the built-in 'if' command for osh and to the external 'if' command for sh6. These new operators include <, >, -eq, -ne, -gt, -ge, -lt, and -le.

Please try it if you like, and tell me what you think. By the way, if you’ve no access to computing machinery with a UNIX-like operating system on which to try it… Let me know, and I’d be happy to help.

By

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s