>I think there is a way to do it in sed using the holding space, but it's so much >easier in perl that I never bothered to learn the hard parts. What's the >problem with using perl anyway? No problem, just thought there was a sexier way to do it then my ugly way. The Perl solution would be just as long if it were a one liner, so I'll just shove it into a shell script I guess. Thanks! jlc