Library of common bash functions.