Skip to content

Instantly share code, notes, and snippets.

View cboylan's full-sized avatar

Clark Boylan cboylan

View GitHub Profile
#!/bin/sh
#Put versions in order of preference.
VERSIONS='python python2 python2.4 python2.6 python2.7 python3.0 python3.2'
CMD=$0
ARGS=$@
LOCATIONS=`which $VERSIONS`
set -- $LOCATIONS
#Exec the best match