delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
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 <chuckh AT softhome DOT net> |
Subject: | nobinmode pipes? |
Date: | Fri, 13 Jun 2003 16:23:19 +0000 (UTC) |
Lines: | 7 |
Message-ID: | <Xns93997E78418CEchuckhsofthomenet@80.91.224.249> |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |