Oh nice, I was thinking there had to be a nicer way to do it. I can see that this summer will be an education in shell scripting for me.