in reply to (cLive ;-)(Golf) Analyzing Time From tcpdump Outputin thread (Golf) Analyzing Time From tcpdump Output
perl -lp0e's/\S*:(\S+).*:..:(\S+).*/$2-$1/es' data.output [download]
perl -lpe'$b=(split":")[2];$a||=$b}{$_=$b-$a' data.output [download]