repo.or.cz
/
viking.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Handle doc subdirectory
[viking.git]
/
tools
/
googledirections
blob
061ecff50c1dd78bc925d2be9bbc1e1b7df9b153
1
#!/bin/bash
2
FROM
=
"
$1
"
3
TO
=
"
$2
"
4
(
wget
-O
-
"http://maps.google.com/maps?q=
$FROM
to
$TO
&output=xml"
2
>/
dev
/
null
)
|
head
-2
|
tail
-1
|
sed
's/.*<page>\(.*\)<\/page>.*/<page>\1<\/page>/'
| gpsbabel
-i
google
-f
-
-o
gpx
-F
-