From: joeyh Date: Sat, 19 Aug 2006 19:26:59 +0000 (+0000) Subject: support lastlog format X-Git-Tag: 0.16~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4efc12865588023b906c51cd688c6f67941051f6;p=moreutils support lastlog format --- diff --git a/ts b/ts index de620c8..d1cbb16 100755 --- a/ts +++ b/ts @@ -75,6 +75,9 @@ while (<>) { # 16 Jun 94 07:29:35 (?:\s+\w\w\w|\s+-\d\d\d\d)? # (optional timezone) + | + \w\w\w\s+\w\w\w\s+\d\d\s+\d\d:\d\d + # lastlog format )\b }{ concise(ago(time - str2time($1), 2))