Made these POSIX compliant (I think) based on patch and comments sent in by James Strother. changed [ a == b] to [a = b], = "" to = "x", removed popd and pushd. changed source to .