I have a file with 7 fields separated with a :
. In field 4 it has the group number. I want to display the group numbers within 0-1000. If there is a duplicate, I only want to print one copy of it along with the other group numbers that don't have a duplicate.
I have to use grep
, awk
, sort
and uniq
.
I don't know the first place to start. Can someone please help me?