【发布时间】:2015-04-17 06:12:15
【问题描述】:
我需要以下输入和输出。
输入:
insert xxx to table xx.xxx.
1
insert yyy to table yy.yyy
10000
输出:
insert yyy to table yy.yyy
10000
我想打印值 >= 10000 之前的 a 行。
试过没用:
awk '($1>10000) {print$1)' < log2 > log3 | awk '/[0-9]$/ {print $1)' < log
【问题讨论】: