rpirena/Itime.awk
stephan 35292a0941 copy Itime from irena to rpirena
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/cospi/host@8663 bc5caf13-1734-44f8-af43-603852e9ee25
2023-07-18 19:04:02 +00:00

10 lines
147 B
Awk
Executable file

#! /usr/bin/gawk -f
END { print Itime }
/^H/ {
Time = $2
Diff = Time - Last
if (Diff>0 && Diff<=120) Itime += Diff
Last = Time
}