useful functions - primarily bash specific, usually cross-platform...  PRs and contributions welcome.