The following are POSIX compliant shell scripts that I have mainly written for personal use. I've decided to share them in case anyone is interested or needs a point of reference to create something similar. Most of these were written while teaching myself shell scripting. I am by no means an expert.
OpenBSD versions below are likely newer and more complete.