Urgent.News

What's breaking now, across thousands of outlets.

Tech

Brut, the Brutal Router for Unix Tools

Brut is a single-file POSIX shell script designed to serve as the front-end executable for Unix command-line programs. It routes to various commands based on the filename and the first argument passed to it, similar to the Git CLI. Brut ensures portability, allowing programs to run on any contemporary Unix system without additional runtime dependencies.

This script encourages a modular approach to shell scripting, breaking programs into small executables and shared library files. By organizing source files according to certain conventions, Brut simplifies the development process, making it easier to manage larger programs and bootstrapping build systems.

Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at brut.sh →

More in Tech

More from Tuesday 6 October →