开发者

awk between 2 timestamps

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜