a simple shell library for generate temp directory, alternative for "mktemp -d"
git clone https://github.com/lazypwny751/tempd.git
cd tempd
bash missing.sh
sudo make all
you can source the library in a shell script also you use it directly.
source /usr/local/lib/bash/5.1/tempd.sh
tempd.create export
rm -rf "${TEMPD}"
export TEMPD="$(tempd.create)"
rm -rf "${TEMPD}"
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.