On Wed, Jan 31, 2007 at 02:27:24PM -0500, Dak Ghatikachalam wrote: >Thanks a lot , I test ran it. This is great No problem. I should add that if this is to be part of a long running script, you should close the co-process (the while-loop running cat), with something like: exec 5<&p exec 5<&-