diff options
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)) +' |