Ok, thanks for the foreach idea I had not thought of foreach in this context. That was the only one I did not try ;-(. thanks, Peter -- The Toronto Linux Users Group. Meetings: http://tlug.ss.org TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml