Useful sh/bash library