I'm porting a ksh script to pdksh running under cygwin and noticed that if a run a windows program in a coprocess, the pipe seems to stay in binmode even if I set nobinmode in the CYGWIN variable. How can I get rid of those pesky carriage returns that the Windows program outputs at the end every line? I don't want to have to launch something like "tr -d" for every line I read from the pipe? That could really slow things down. I've also tried adding "\r" to the IFS variable but that didn't work either.
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/