b) As for the time tag, it is unlikely that it is spread over 3 lines. Just possible. It's just in oder to be safe. In another script, I delete trkpt tags. Those are most likely spread over multiple lines.
c) That's the point. -z kind of flattens to one line. Allowing analysis over (in the source) multiple lines. Usually sed operates per line. Then you can not match from xml tag start to xml tag end if tag start and tag end are in multiple lines.
c) That's the point. -z kind of flattens to one line. Allowing analysis over (in the source) multiple lines. Usually sed operates per line. Then you can not match from xml tag start to xml tag end if tag start and tag end are in multiple lines.
The following users thanked this post: lor74cas