Bash library for writing shell applications