I have a file :
AX-172321889 4
AX-172321889 4
AX-172322243 2
AX-172322331 2
AX-172322347 2
AX-172322347 2
AX-172322347 2
AX-172322354 2
AX-172322383 2
AX-172322440 2
AX-172322719 7
I need to remove every duplicated or more lines. And not keeping one occurence for each of them. I know :
awk '!seen[$1]++' or sort -t'-' -k1,2n | uniq is pretty close of what I want, but this keeps one occurence.
I should get :
AX-172322243 2
AX-172322331 2
AX-172322354 2
AX-172322383 2
AX-172322440 2
AX-172322719 7