in reply to Removing duplicates from list

Could you use the ctags program? I think that ctags is one of those magical tools on Unix that doesn't get enough play.

thor