X-Recipient: archive-cygwin@delorie.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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; q=dns; s=default; b=iMXrASRO5WeLzDBu+W9U7nBTl7vvQ
	/tC/C16WCjTnYTXYQGYsmyGcCDt+cZGzprg29JjO6SAu38K7I0/MVVPXEKbb8+U/
	R42OwKfRye4AI+Ez7yMuykPjupV4XkhCqxSY1kKDufPaPA31SyEGHFitd8cSPMWb
	Eq+BqeMfcx1qcc=
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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; s=default; bh=KaBBqnpcxM5Jihiq2p4acps7DxE=; b=hoP
	0U111y3NTv475q7vB9jXkZjoVSF1ttM5VTX/mRJcTdCRLlw7YlywGPoM//ET/19R
	hyt5rSGrnE6YyiyZPe4e0ZPgiP/wZ6EWea4rgNWgT0bwKLWsJ9yMSf7wOfGbXLTd
	svr73JWWhHeXjnUzlNX89X4a+jt6CuQhGucsB9+o=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,MIME_BASE64_BLANKS autolearn=no version=3.3.2 spammy=Hx-languages-length:599
X-HELO: USA7109MR009.ACS-INC.COM
From: "Nellis, Kenneth" <Kenneth.Nellis@xerox.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: Script broken after updating bash to 4.3.46-7?
Date: Mon, 29 Aug 2016 12:41:06 +0000
Message-ID: <0D835E9B9CD07F40A48423F80D3B5A704BB928DC@USA7109MB022.na.xerox.net>
References: <CAPTiy3N_qv5sMAZ8pKcuV6tE8pOZ0dkSLyFe7sJ_W_y03uJGEg@mail.gmail.com>
In-Reply-To: <CAPTiy3N_qv5sMAZ8pKcuV6tE8pOZ0dkSLyFe7sJ_W_y03uJGEg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id u7TCgKUL005877

From: Gene Pavlovsky 
> Andrey,
> That's what I personally think, none of the scripts I use have CRs,
> and this is why I'd prefer not using the `igncr` option.
> However the recent change to how `read` works makes it necessary to
> modify existing scripts which interoperate with Windows console
> programs (in my case, Windows build of mysql (MariaDB)) that produce
> CRLF line endings.
> --Gene

I sympathize, but it could be argued that your script was invalid;
that it properly should have piped the output of mysql through d2u.

--Ken Nellis


