summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgpx-to-tsv1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpx-to-tsv b/gpx-to-tsv
index 131fb9e..f93168d 100755
--- a/gpx-to-tsv
+++ b/gpx-to-tsv
@@ -26,5 +26,6 @@ sed '
t
\@^</trkseg><trkseg>$@ d
\@^</trkseg></trk>$@ d
+ \@^</trkseg></trk>.*<trk>.*<trkseg>$@ d
w /dev/stderr
'