I have a file tmp.log with fields like
description ID valueA valueB valueC
xxx x 1 1 1
yyy y 3 100 23
zzz z 0 0 0
aaa a 4 4 4
I would like to remove data points which have same values across all 'value' columns
description ID valueA valueB valueC
yyy y 3 100 23
aaa a 4 4 4
I am using
cat tmp.log | tail -n+2 | awk '!a[$3$4$5]++'
But it still prints the redundant values, why is this wrong and how to correct?