Merry has been gaining the building blocks that make it a practical target for porting existing shell scripts. In recent commits, the shell now supports a return command that lets a function exit with a specified status code, a local command for function-scoped variables, and loop-control keywords including continue and return. Together these mean scripts can use functions as subroutines that signal success or failure, keep intermediate state private, and break out of loops or functions early. Commit
A new read built-in lets a script capture a line from standard input into named variables, opening up the familiar while-read pattern for processing input line by line. Case statements also now expand variables inside their patterns, so a pattern referencing a variable matches against the variable's value rather than the literal name. Backslash escapes in read input are not yet handled, so escaped characters pass through literally. Commit
Several parser and expansion fixes bring Merry's behaviour closer to standard sh: tilde-prefixed paths now expand to the home directory, unquoted words split on the shell's internal field separator rather than only spaces, and the trap command accepts numeric signal identifiers alongside named ones. Building Merry now requires the external globlon package for filename pattern matching, replacing a previously bundled implementation. Commit