| 1 |
All The Latest Gash News |
| 2 |
************************ |
| 3 |
|
| 4 |
Noteworthy changes in release 0.3.2 (2026-03-13) |
| 5 |
================================================ |
| 6 |
|
| 7 |
New features |
| 8 |
|
| 9 |
- Character classes in regular expressions. |
| 10 |
- Arbitrary ascii ranges in regular expression. |
| 11 |
|
| 12 |
Noteworthy changes in release 0.3.1 (2025-05-05) |
| 13 |
================================================ |
| 14 |
|
| 15 |
Bug fixes |
| 16 |
|
| 17 |
- Fix a non-deterministic error whereby sub-shells could fail, in a |
| 18 |
non-deterministic fashion, with: |
| 19 |
In procedure scm_fdes_to_port: Bad file descriptor |
| 20 |
See <https://issues.guix.gnu.org/75658>. |
| 21 |
- Fix case where failure to execute a program due to a wrong |
| 22 |
interpreter (either shebang or ELF interpreter) would leave a child |
| 23 |
process behind it. |
| 24 |
|
| 25 |
Noteworthy changes in release 0.3.0 (2022-02-11) |
| 26 |
================================================ |
| 27 |
|
| 28 |
New features |
| 29 |
|
| 30 |
- Arithmetic expansion. |
| 31 |
- Simple asynchronous commands. |
| 32 |
- A language specification is now provided, allowing you to use the |
| 33 |
evaluator from the Guile REPL by typing ",L sh". |
| 34 |
- Redirects now honor the 'noclobber' option. |
| 35 |
- The 'wait' built-in. |
| 36 |
- The 'umask' built-in can now display the current umask. |
| 37 |
|
| 38 |
Bug fixes |
| 39 |
|
| 40 |
- An empty command will now reset the status. |
| 41 |
- The 'read-sh' procedure now reads from 'current-input-port' by |
| 42 |
default (before it used 'current-output-port'). |
| 43 |
|
| 44 |
Miscellaneous improvements |
| 45 |
|
| 46 |
- Various performance improvements. |
| 47 |
- Word expansion has been split into two steps, paving the way for a |
| 48 |
compiler. |
| 49 |
- Guile 3.0 is now explicitly supported. |
| 50 |
|
| 51 |
Noteworthy changes in release 0.2.0 (2019-12-15) |
| 52 |
================================================ |
| 53 |
|
| 54 |
New features |
| 55 |
|
| 56 |
- Pattern-based and asserting variable operators ('#', '##', '%', |
| 57 |
'%%', and '?') are now supported. |
| 58 |
- Errors are now handled in the 'break', 'continue', and 'return' |
| 59 |
special built-ins. |
| 60 |
- Temporary variable assignments are now passed into function calls |
| 61 |
and invocations of regular built-ins. |
| 62 |
- The 'read' special built-in now supports field splitting and |
| 63 |
logical lines. |
| 64 |
- The IFS variable is now initialized with a value. |
| 65 |
- The 'trap' special built-in now uses '-' if no action is given. |
| 66 |
- The 'noglob' option can be used to turn off globbing. |
| 67 |
|
| 68 |
Bug fixes |
| 69 |
|
| 70 |
- Subshells no longer continue executing code from the parent shell. |
| 71 |
- The 'exit' special built-in now runs the exit handler. |
| 72 |
- Patterns can now contain malformed, unterminated bracket |
| 73 |
expressions (e.g., '[-foo'). |
| 74 |
- Nested variable references that are interpreted as strings now |
| 75 |
work (e.g., 'x=${y+${z+foo}}'). |
| 76 |
- Backtick command substitutions in double quotes are now parsed |
| 77 |
"correctly" (i.e., in the same bizarre way as other shells). |
| 78 |
- Case statements that have unbalanced parentheses and are nested |
| 79 |
inside of command substitutions are now parsed correctly. |
| 80 |
- The behavior of the '+' and ':+' variable operators are no longer |
| 81 |
reversed. |
| 82 |
- Pathname expansion now works for absolute paths, paths with quoted |
| 83 |
slashes, paths with repeated slashes, and paths with dot and |
| 84 |
dot-dot components. |
| 85 |
- Files opened for redirect are now closed immediately after they |
| 86 |
are used. |
| 87 |
- Processes spawned for pipelines are now reaped. |
| 88 |
|
| 89 |
Miscellaneous improvements |
| 90 |
|
| 91 |
- Gash is now installed into Guile's 'site' directories. |
| 92 |
- The source tarball can now be generated reproducibly from a Git |
| 93 |
checkout. |
| 94 |
|
| 95 |
Noteworthy features of release 0.1 (2019-06-01) |
| 96 |
=============================================== |
| 97 |
|
| 98 |
Features of the shell |
| 99 |
|
| 100 |
- Sophisticated enough to be used to build Bash. |
| 101 |
- Has a nice colorized prompt. |
| 102 |
- Includes all of the POSIX-specified "special" built-ins except for |
| 103 |
'times'. |
| 104 |
- Includes about half of the POSIX-specified "regular" built-ins |
| 105 |
(see 'gash/built-ins.scm' for details). |
| 106 |
|
| 107 |
Features of the programming interface |
| 108 |
|
| 109 |
- Parses Shell scripts into an AST. |
| 110 |
- Provides a rudimentary interface for writing Shell-like Scheme |
| 111 |
scripts. |
| 112 |
|
| 113 |
Copying this file |
| 114 |
================= |
| 115 |
|
| 116 |
This file was written by Timothy Sample <[email protected]>. |
| 117 |
|
| 118 |
To the extent possible under law, the author(s) have waived all |
| 119 |
copyright and related or neighboring rights to this file. |
| 120 |
|
| 121 |
You should have received a copy of the CC0 legalcode along with this |
| 122 |
work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. |