Remove unused functions

These now live on in <https://github.com/l0b0/shell-includes/blob/master/misc.sh>.