C's stdlib::mktemp like written in pure Bourne again shell.
It try to follow the stdlib::mktemp specification available here as much as possible plus creating the temporary file.
bpkg install le-garff-yoann/mktemp.bash. mktemp.bash
bmktemp /tmp/tmp.XXXXXX # create and print /tmp/tmp.g20Jxn to &1bpkg install lehmannro/assert.sh
bash test.sh