Thicket thicket
cambridge
REPOS 4

Projects covers Forester, Merry, xdge and ocaml-crockford.

W02.2026 · 5–11 Janprojects

Merry, a small shell, now supports interactive use with a prompt, command pipelines, and file redirection. The following changes are available in recent commits but not yet in a tagged release.

Features

  • Interactive prompt: Running the osh binary with no arguments opens a prompt where you can type and edit commands. Standard editing keys work as expected. (bd0291d1, 184cf858)

  • Pipelines: You can join commands with a pipe so one command's output feeds directly into the next. This lets you combine simple tools without writing intermediate files. (12b21248)

  • Redirection: You can feed a file's contents into a command or send a command's output to a file. This works on simple commands. (5abd721b, 88cb6bac)

  • Directory commands: The shell now includes built-in commands to change and print the working directory. Running cd with no argument moves you to your home directory. (1982b6e5)

Fixes

  • Exit status handling: A non-zero exit code from a command no longer terminates the shell. The prompt now displays the previous command's exit status in red, along with user, host, and current directory. (4fae4689)