Merry, a shell, gains the echo and readonly built-ins, supports output redirection on compound commands, and fixes parsing of multi-digit positional parameters. Forester, an HTML renderer, now omits a redundant XML namespace attribute from its output.
Features
Echo and readonly: Merry now includes an echo built-in for printing text to the terminal and a readonly built-in for marking variables so they cannot be reassigned. A listing option shows all variables currently marked immutable.
Set options: Merry adds two shell options: one disables filename expansion (globs) and the other causes the shell to raise an error when an unset variable is referenced. These let scripts fail fast on typos or prevent unintended file matching.
Compound-command redirections: Output redirection now applies to compound commands such as for loops, so a loop's output can be written to a file in a single statement. Previously, only simple commands could be redirected.
Fixes
Multi-digit parameters: Positional parameters beyond the first nine (the tenth, eleventh, and so on) now parse correctly. Scripts with more than nine arguments previously saw only the first digit recognised.
Forester HTML output: The renderer no longer emits the redundant XML namespace attribute on elements. Pages that previously included this attribute in their markup will now have it removed.
Compatibility
ocaml-crockford build requirement: The library now requires dune 3.21 or later to build, up from 3.18. Users on an older dune version must upgrade before building.