Some useful POSIX shell scripts.