Skip to content

Instantly share code, notes, and snippets.

@rodericj
Created March 31, 2010 21:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rodericj/350938 to your computer and use it in GitHub Desktop.
Save rodericj/350938 to your computer and use it in GitHub Desktop.
function getEmail(){
date
if [ ! -f /tmp/"$1" ]
then
echo "fetching"
python ~/dev/fetch.py $1 >/tmp/$1
fi
echo "picking map"
PYTHONPATH=lib /opt/itinerator/pyre/bin/python $HOME/trunk/src/bin/pickmap.py etc/datamap /tmp/$1 >/tmp/pickmap.output.$1
echo "bin/disp /tmp/$1"
echo "disping" && $HOME/trunk/src/bin/disp /tmp/$1 > /tmp/disp.xml.$1 && echo "editing" && vim -O /tmp/pickmap.output.$1 /tmp/disp.xml.$1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment