perl -MPOSIX -F, -lane 'print join ("," ,$F[0],strftime( "%F %T", loca +ltime $F[1]),@F[2..$#F],$ARGV),"\n"' Your-Log-file.log
perl -MPOSIX -pe's/^([^,]+,)(\d+)/ $1 . strftime "%F %T", localtime $2 + /e; s/$/,$ARGV/' Your-Log-file.log
In reply to Re^2: Convert Epoch times in Logfile
by jwkrahn
in thread Convert Epoch times in Logfile
by stevbutt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |