diff options
author | Erich Eckner <git@eckner.net> | 2020-01-15 15:58:16 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-01-15 15:58:16 +0100 |
commit | 86f11c46995cb19289e0904efc7a985245fa9389 (patch) | |
tree | cf63fac059d7216e61a8711990bd4a2d243e45e9 /gpx-to-tsv | |
parent | 73444ead611a4fc308c783c4410c8220902bdc51 (diff) | |
download | gpx-statistics-86f11c46995cb19289e0904efc7a985245fa9389.tar.xz |
gpx-to-tsv: Zeit wird nicht geparst - andere sind schneller
Diffstat (limited to 'gpx-to-tsv')
-rwxr-xr-x | gpx-to-tsv | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -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)) +' |