summaryrefslogtreecommitdiff
path: root/gpx-to-tsv
diff options
context:
space:
mode:
Diffstat (limited to 'gpx-to-tsv')
-rwxr-xr-xgpx-to-tsv10
1 files changed, 1 insertions, 9 deletions
diff --git a/gpx-to-tsv b/gpx-to-tsv
index 22e6627..131fb9e 100755
--- a/gpx-to-tsv
+++ b/gpx-to-tsv
@@ -1,7 +1,5 @@
#!/bin/sh
-start=$(date +%s)
-
sed '
s/>/\0\n/g
s/</\n\0/g
@@ -29,10 +27,4 @@ sed '
\@^</trkseg><trkseg>$@ d
\@^</trkseg></trk>$@ d
w /dev/stderr
-' \
-| while read -r lat lon ele time; do
- printf '%s\t' "${lat}" "${lon}" "${ele}"
- date -d"${time}" +%s
-done
-
-echo $(($(date +%s)-start))
+'