Expand system variables Unix style. This module is inspired by GNU bash's variable expansion features. It can be used as an alternative to Python's os.path.expandvars function.