This is the mail archive of the
mailing list for the Cygwin project.
- From: Chuck <chuckh at softhome dot net>
- To: cygwin at cygwin dot com
- Date: Fri, 13 Jun 2003 16:23:19 +0000 (UTC)
- Subject: nobinmode pipes?
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