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 Message-ID: <42779E99.5E6192A2@dessent.net> Date: Tue, 03 May 2005 08:54:01 -0700 From: Brian Dessent MIME-Version: 1.0 To: "'cygwin AT cygwin DOT com'" Subject: Re: echo "$(echo '\r')" oddity References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Jan Just Keijser wrote: > thx for the quick answer. Lemme guess: I am going to have to build my own > version of bash that does not have this behaviour... what is going to break > if I undo this patch from the bash source code? > > It's a shame though, coz this seems to be the only issue that stops that > nifty socat from working... all tests pass except those tests that use `` or > $() ... My guess is that that patch was added so that command substitution on windows programs works. Or something to that effect. You could certainly recompile without it, and see what happens. But the question that I think we're left with is what exactly is socat doing that is broken by this? If you give examples I'm sure someone here will be able to show you a way to do what you want without patching anything. Note: I have no idea what socat is... Brian -- 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/