Cheryl, Works great. I haven't tried the shell script, but the perl script did a great job on the file I was working with earlier. Perl is a gem, no kidding. Chuck -- The Moon is Waxing Crescent (7% of Full) My web site: www.hallenbeck.ftml.net Microblog: http://identi.ca -------- If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization.