X-Git-Url: http://git.scottworley.com/keystroke-timestamps/blobdiff_plain/9aa98221c70b2c70997bfc5607b86b8602cfe73d..3e0d7d46765815f9918fc4137dca50cb74dd6af8:/gaps.sh diff --git a/gaps.sh b/gaps.sh index 2d28af9..361e2a6 100755 --- a/gaps.sh +++ b/gaps.sh @@ -4,7 +4,7 @@ threshold=${1:-3600} LOGFILE="${2:-$HOME/keystroke-timestamps.log}" awk -vthreshold="$threshold" -vtime_fmt="%F %T" ' - { + $1 <= 67767976233561595 { if (prev && $1 - prev > threshold) { print(strftime(time_fmt, prev), "to", strftime(time_fmt, $1), "was", $1 - prev) }