nobinmode pipes?
Chuck
chuckh@softhome.net
Fri Jun 13 16:45:00 GMT 2003
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/
More information about the Cygwin
mailing list