I have a tab delimited file with 5 columns and you need to get a count of the number of unique rows from column 2. I usually do this using Perl / Python, but I have to use a wrapper for this.
In the past, I have successfully used the * nix uniq function connected to wc, but it looks like I have to use awk here.
Any advice would be greatly appreciated. (I previously asked a similar question about column checks using awk, but this is a bit different, and I wanted to separate it, so if anyone has this question in the future, it will be here)
Many thanks! Lilly
source
share