say data is..
Code:
aaa 123
bbb 456
bbb 789
ccc 101112
ccc 131415
....
so
Code:
name_list[$1] = 1
now array contains
namelist["aaa"] = 1
namelist["bbb"] = 1
namelist["ccc"] = 1
my intention is to print out only non-duplicated at certain column records.
it should only print out first 1st column encountered data
so desired output is..
Code:
aaa 123
bbb 456
ccc 101112