> The sort command should be able to specify "unique" s an argument This > would be far faster than looping through the data Do you mean as in "remove duplicates while you sort"? -- -Mark Wieder ahsoftware at gmail.com