The following are POSIX compliant shell scripts that were written for personal use. I have made them available in case someone is interested or needs a point of reference to create something similar. I am by no means an expert.

OpenBSD

Void Linux