Eliminate bash-isms