Frank Lanitz wrote: >sort -u is doing nearly the same but also sorting in one rush ;) Good point :) -- Ross McKay, Toronto, NSW Australia "Let the laddie play wi the knife - he'll learn" - The Wee Book of Calvin