Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Chuck Subject: nobinmode pipes? Date: Fri, 13 Jun 2003 16:23:19 +0000 (UTC) Lines: 7 Message-ID: X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: Xnews/5.04.25 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/