Command line wizardry, part two: Variables and loops in Bash
arstechnica.com
arstechnica.com
Also, while it's not necessarily a guarantee that Python or Perl will be in a given environment, Bash will practically always exist. I will grant you if you find yourself in this predicament, you should probably be rethinking your build/deploy strategy altogether.