← Thursday, October 8, 2026Languages & toolsDeep dive
Brut routes Unix commands through a portable POSIX shell script
Brut dispatches commands by executable name and first argument, extending `PATH` to find corresponding command programs; it aims to run on contemporary Unix systems with only POSIX utility dependencies. The annotated implementation is useful to engineers building portable command-line tools.
- What
- Brut is a single-file POSIX shell script that routes Unix command-line programs to separate commands.
- How
- It extends `PATH`, searches for a command such as `myprog-build`, and runs it; the project uses small executables and shared scripts.
- Why it matters
- Its POSIX-only approach lets engineers compose independently testable command-line parts across Unix hosts without extra runtime dependencies.
Read on brut.sh → Lobsters · 32 comments
Discussion
Discussion is not switched on yet. Use Note above to keep your own thoughts on this story.
Headline, summary, brief and diagram are written by a model from the source's own text; the link, byline and numbers come from the source. Read the original before relying on a claim.