开发者

awk between 2 timestamps

开发者 https://www.devze.com 2023-04-06 13:46 出处:网络
New to awk I am trying to print only the lines from a logfile with the first field between these 2 values:

New to awk I am trying to print only the lines from a logfile with the first field between these 2 values:

awk '{print $0($1 > 1300000000) && ($1 < 1305000000)}' Log2.log

and开发者_Go百科...its not right.


awk '1300000000 < $1 && $1 < 1305000000' Log2.log

Style :)

0

精彩评论

暂无评论...
验证码 换一张
取 消