Three weeks in the Shell [weekly-2026-w25]

The last three weeks have been focused work on building Merry. In practice, I wanted to run the following two commands through Merry's shell: msh:

apt-get install debootstrap -y
debootstrap stable /stable-chroot http://deb.debian.org/debian/

Seemingly innocuous. But both commands run thousands of lines of shell script. Whether that's Debian package maintainer scripts or state-machines for processing package release files.

What follows is a handful of the bugs and the shell scripts that caused them.

References

Reference. IEEE/Open Group Standard for Information Technology--Portable Operating System Interface (POSIX™) Base Specifications, Issue 8 [posixSpec]

Context

OCaml Roundup: June 2026 [ocaml-roundup-june-2026]

Patrick Ferris' Weeklies [weeklies]

Related

Merry [merry]