Merry received a batch of pipeline fixes over the past few weeks that address several ways multi-stage pipelines could stall or crash. A long-running command in one stage no longer blocks the remaining stages, loops in one stage no longer prevent other stages from progressing, and each stage now closes its read end when it finishes so file descriptors stop accumulating. Together these changes mean long-running scripts that pipe through multiple commands will complete instead of hanging or exhausting system limits. 1d0e955a e640f4ad
The shell also closed several gaps with POSIX behaviour. Variables prefixed with a dollar sign now work inside arithmetic expressions, tilde shortcuts for home directories resolve correctly, double-quoted strings unescape backslash sequences as expected, and trap handlers queue their actions so signals arriving during a script are no longer silently dropped. If you have shell scripts written for a standard POSIX shell, they should now run without modification. 848ec3f7 f56e54db 77c2b3d8 605a9466
A small performance improvement reduces the overhead of environment lookups and pipeline setup, so scripts complete in less time. c552593f