#!/usr/bin/env bash

# Apparently old gtar's (EG 1.15.1) like to report seconds, while new gtar's do not.  Backshift
# emulates the new behavior, so we coerce the datestamps from gtar to the new, secondless format.
sed 's#^\(..........  *[a-zA-Z0-9]*/[a-zA-Z0-9]*  *[0-9][0-9,]*  *[0-9][0-9]*-[0-9][0-9]*-[0-9][0-9]*  *\)\([0-9][0-9]*:[0-9][0-9]*\):[0-9][0-9]*\( .*$\)#\1\2\3#'