Safe delete for the command line. Moves files and directories to
$HOME/trash/YYYY-MM-DD/ instead of removing them permanently. The dated
directory is created automatically. Duplicate basenames get a _1, _2, …
suffix. Exits 1 if any path was not found.
Written in pure x86-64 Linux assembly with no libc dependency.
rem <path>...
rem --help
Requires Docker. The base image is pinned by digest and binutils by exact
package version, so two independent builds produce a bit-for-bit identical
binary.
just build # assemble and link inside Docker
just test # build + run test suite inside Docker
just clean # remove rem and rem.o