my %seen; while (<>) { s/\t.*//s; $seen{$_}++ or print "$_\n"; } [download]
In reply to Re: output unique lines only by chibiryuu in thread output unique lines only by sbp