mark-rushakoff/zzbox
This repository has no description.
zzbox is intended to be a core collection of Unix utilities that pedantically follow POSIX.1-2024.
What do we mean by pedantic?
For one example, check the
Exit Status section of the specification for false
:
The false utility shall always exit with a value between 1 and 125, inclusive.
Most implementations of false
will always exit 1.
zzbox
's false interprets the specification literally,
and it returns a random value in that range.
Build it from source for now (zig build
with the current master
branch of Zig).
Use it like BusyBox
or toybox:
if the basename matches a supported utility,
it is as though you executed that utility directly.
That is, if the zzbox
binary is /bin/cat
or if /bin/cat
is a symlink to the zzbox
binary,
then the executable acts like cat
.
Otherwise, the first positional argument is treated as the name of the utility to execute.
Command | Status | Notes |
---|---|---|
cat | Partial | No argument support yet |
true | Complete | |
false | Complete |