Thicket thicket
cambridge
REPOS 4

W23.2026 · 1–7 JunAll

Merry now supports POSIX-style variable expansion inside arithmetic expressions, and several pipeline concurrency bugs that could stall or crash scripts have been fixed. These changes make multi-stage pipelines more reliable and bring arithmetic syntax closer to what developers expect from standard shells.

Features

  • Arithmetic variables: Variables prefixed with $ can now be used inside arithmetic expressions, matching the POSIX shell specification. Scripts written for standard shells that rely on this syntax will work without modification. 848ec3f7

Fixes

  • Pipeline blocking: A long-running built-in or compound command no longer blocks the remaining stages of a pipeline. Scripts that pipe output through multiple commands will complete instead of hanging. 1d0e955a

  • Loop starvation: Loops in one pipeline stage no longer prevent other stages from making progress. Multi-stage pipelines that include looping commands will finish rather than stall indefinitely. 0cdb9aaf

  • Stream cleanup: Input and output streams are now closed after a compound command finishes within a pipeline. This prevents file descriptors from accumulating, which could otherwise exhaust system resources in long-running scripts. 452ec3ed

  • Shift overflow: Shifting more positions than the argument list holds now prints an error message and exits with a non-zero status instead of crashing. Scripts that receive an unexpected number of arguments will fail gracefully rather than terminating abruptly. 452ec3ed