]> git.street.me.uk Git - andy/viking.git/blame - tools/googledirections
Move man files from doc to help directory so they will be included in the output...
[andy/viking.git] / tools / googledirections
CommitLineData
05225ccd
EB
1#!/bin/bash
2FROM="$1"
3TO="$2"
8cf048bd 4(wget -O - "http://maps.google.com/maps?q=$FROM to $TO&output=xml" 2>/dev/null) | head -3 | tail -1 | sed 's/.*<page>\(.*\)<\/page>.*/<page>\1<\/page>/' | gpsbabel -i google -f - -o gpx -F -