Features
-
Merry
echoandreadonly: adds theechobuilt-in for printing text and thereadonlybuilt-in for marking variables immutable.readonly -plists all readonly variables. (972d29c1) -
Merry
setoptions: addsnoglob(disable filename expansion) andnounset(error on unset variables) viaset -oor the short flags-fand-u. (54947c37) -
Merry compound-command redirections: output redirections now apply to compound commands such as
forloops, sofor i in a b; do echo $i; done > out.txtwrites to a file. (08b19606) -
Merry
>|clobber operator: the>|redirection now forces overwriting an existing file even whennoclobberis set, matching POSIX behaviour. (08b19606) -
Merry built-in redirections: file-descriptor redirections (e.g.
echo hello 789>out.txt >&789) now work with built-in commands, not just external programs. (8933bf5f)
Fixes
-
Merry multi-digit positional parameters: the lexer now recognises
$10,$11, etc. Previously only single-digit positional parameters were parsed. (02dae819) -
Merry nested arithmetic expressions:
$(( ))expressions containing inner$(( ))(e.g.$(( ((j+=6*i)==0x2A)>0 ? 14 : 15 ))) now parse correctly. (0722a090) -
Merry pipeline process groups: removes the background
sleepprocess used to establish a process group, replacing it with a promise-based delay. This eliminates race conditions when attaching pipeline members to the group. (cd369d9a)