123456.451 entered-auto_attendant
123456.451 duration:76 real:76
139651.526 entered-auto_attendant
139651.526 duration:62 real:62`
139382.537 entered-auto_attendant
使用基於Linux中一個bash shell腳本,我想刪除基於列1(一個與長數)的值的所有行。有考慮到這個數字是一個可變數量
我已經與
awk '{a[$3]++}!(a[$3]-1)' file
sort -u | uniq
試過,但我沒有得到這會是這樣的結果,讓所有的比較第一列的值,刪除所有的副本,並顯示
123456.451 entered-auto_attendant
139651.526 entered-auto_attendant
139382.537 entered-auto_attendant
1:次要錯字 - 'B [$ 1]'應'B [X]'在'END'塊。 –
它是一個錯字,THX,固定 – Kent
什麼,如果我需要所有以139382.537開始列(在這種情況下) – user3494949