Merry, a POSIX-compatible shell, now supports $-prefixed variables in arithmetic expressions, matching the POSIX shell spec. Several fixes also resolve pipeline stalls and resource leaks that could freeze multi-stage commands.
Features
Arithmetic variables: $-prefixed variables now work inside arithmetic expressions, matching the POSIX shell spec. Scripts that previously needed workarounds for variable references in arithmetic context can now use the standard syntax. 848ec3f7
Fixes
Pipeline concurrency: Built-ins and compound commands now run concurrently within a pipeline, so a long-running built-in no longer blocks the remaining stages. 1d0e955a
Loop yielding: for and while loops now yield between iterations, so other pipeline stages can continue instead of stalling. 0cdb9aaf
Stream cleanup: Input and output streams are now closed after a compound command finishes, preventing the shell from running out of open file handles in pipelines. 452ec3ed
Shift error: Shifting more positions than the argument list holds now prints an error and exits non-zero instead of crashing. 452ec3ed