Re: [coreutils] How to check uniqueness on one or multiple columns in a table and print the duplicated rows?

2010-06-17 Thread Pádraig Brady
On 17/06/10 21:53, Peng Yu wrote: > Hi, > > Uniq doesn't have an option to check the uniqueness for a given column > (although it can exclude the first a few columns). It will need 'cut' > to check uniqueness on a give number of columns and print the > duplicated rows. This is not convenient. I'm

[coreutils] How to check uniqueness on one or multiple columns in a table and print the duplicated rows?

2010-06-17 Thread Peng Yu
Hi, Uniq doesn't have an option to check the uniqueness for a given column (although it can exclude the first a few columns). It will need 'cut' to check uniqueness on a give number of columns and print the duplicated rows. This is not convenient. I'm wondering if there is a better way to do so.