X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=MFh /CURIaCPrbyRizyaXIMoxCzhMt7xaigsXX0CdJTtHlDIuYwW/DVKAHQNP3s0/0xX SMYVjV1rkpGXwNIPLJOC6SjUcKhyEI27VwRu/cC7fv52WOEA/oQ6szlZjhsr9+ih CigbqB3j+f/cV65KkeFKPTUiFDGLLWtweqp/Ds2s= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type:content-transfer-encoding; s=default; bh=pDnFjqx2H 8p+PA/nDxL3lbDPMyU=; b=WxVx7YM8VqH7lPyvmugviTZIqsgu0Ur4SY64wOZ80 Ji0CvbA3AhogiWqRIG1Fg9zNm+db7CwSZYKKuWVBW1Tgei1Aa5KZBp2acT0d+xaI 1HcUAzphakf0o5r2unJW6Ulb6pmCy6cuBZb2H60CWumdUY0Ovw75vwmB95gMeeEi Xs= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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 Date: Thu, 14 May 2015 22:32:11 +0300 From: Mikhail Usenko To: cygwin AT cygwin DOT 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. 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