From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5851 invoked by alias); 14 May 2015 19:32:30 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 5837 invoked by uid 89); 14 May 2015 19:32:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_05,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail3.ks.pochta.ru Received: from mail3.ks.pochta.ru (HELO mail3.ks.pochta.ru) (185.79.118.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 14 May 2015 19:32:27 +0000 Received: from [81.195.16.212] (port=57413 helo=U250) by mail3.ks.pochta.ru with esmtpa id 1Ysyrm-0004p9-EM for cygwin@cygwin.com; Thu, 14 May 2015 22:32:22 +0300 Date: Thu, 14 May 2015 19:52:00 -0000 From: Mikhail Usenko To: cygwin@cygwin.com Subject: [Bug] bash' read builtin command behaves differently on '\r' (4.3.33) Message-Id: <20150514223211.790926b378d251d4b25dc82b@nm.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-RSpam-Score: 60 X-RSpam-Report: This message is probably spam. X-SW-Source: 2015-05/txt/msg00164.txt.bz2 Cygwin version: 2.0.2-1 [linux]$ bash --version GNU bash, version 4.3.33(1)-release (i686-redhat-linux-gnu) [cygwin]$ bash --version GNU bash, version 4.3.33(1)-release (x86_64-unknown-cygwin) Testcase: [linux]$ echo -ne "\r\n" | { read t; echo "$t"; } | od -A n -t x1 0d 0a [cygwin]$ echo -ne "\r\n" | { read t; echo "$t"; } | od -A n -t x1 0a But then, the pipe itself is OK: [cygwin]$ echo -e "\r" | od -A n -t x1 0d 0a -- -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple