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 Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <030401c1bda0$8659e5a0$5c00a8c0@mchasecompaq> From: "Michael A Chase" To: , References: <200202241243 DOT GAA02149 AT tigris DOT pounder DOT sol DOT net> Subject: Re: "$(dothis)" construct acts as a text tool in pipe (\r removed) Date: Sun, 24 Feb 2002 16:23:34 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 ----- Original Message ----- From: To: Sent: Sunday, February 24, 2002 04:43 Subject: "$(dothis)" construct acts as a text tool in pipe (\r removed) > at first glance, this seems inconsistent to me; comments anyone?: > --v-v------------------C-U-T---H-E-R-E-------------------------v-v-- > > 06:36:47 Sun Feb 24 /adm/bin/sys/s > > WS011206 adm > uname -a;echo "$(echo X$'\r')" |od -a ; echo X$'\r'|od -a > CYGWIN_NT-4.0 WS011206 1.3.9(0.51/3/2) 2002-01-21 12:48 i686 unknown > 0000000 X nl > 0000002 > 0000000 X cr nl > 0000003 > --v-v------------------C-U-T---H-E-R-E-------------------------v-v-- > > 06:34:32 Sun Feb 24 ~ > > CMKE755 adm > uname -a;echo "$(echo X$'\r')" |od -a ; echo X$'\r'|od -a > CYGWIN_NT-4.0 CMKE755 21.0 (0.14/2/2) 1999-9-13 20:44:35 i686 unknown > 0000000 X cr nl > 0000003 > 0000000 X cr nl > 0000003 It looks like the second machine has a seriously outdated version of Cygwin. I wouldn't expect Win 3.1 and WinXP to behave identically in all situations, why should Cygwin 1.3.9 act identically to Beta 21? The handling of pipes has changed several times in the interim. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/