delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/29/08:42:24

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: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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-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 DOT Nellis AT xerox DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT 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 AT mail DOT gmail DOT com>
In-Reply-To: <CAPTiy3N_qv5sMAZ8pKcuV6tE8pOZ0dkSLyFe7sJ_W_y03uJGEg@mail.gmail.com>
MIME-Version: 1.0
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019