| delorie.com/archives/browse.cgi | search |
| 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:subject:to:references:from:message-id:date | |
| :mime-version:in-reply-to:content-type | |
| :content-transfer-encoding; q=dns; s=default; b=lj/I/sX2D6W+3gj7 | |
| W0/Vh/JtHE1oCqsa6RLkpnBt6QKoYp9bt0bKd+B9Iv2OL2Z2RQMjP3DeJA5r0p1F | |
| eyQRFznsvgfn46FghnWLob2PFsHt6SmTSA/ZtNLtVorDUJ9lkTJI/A7pBPUIsrip | |
| pe++8RHWUaxNkJh3ExUJS5eo4cs= | |
| 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:subject:to:references:from:message-id:date | |
| :mime-version:in-reply-to:content-type | |
| :content-transfer-encoding; s=default; bh=2T+IfrEKPxJ5ZfEp7Y6zuP | |
| blj+E=; b=mSkuHJjQjxBL6IalmM1cMgZMhMfskBltDu+CAeuVwdeSLyB5pWr7SQ | |
| hxA2M8O7G35GkUzgXNsLkEnkuTDOU5EUFg0eLpRZc3Wv/zsNUiwGJsyLq3R19iDL | |
| SIbqLMxY59rnuX9B5JEGuahBrJGKDkqrEc7LU8ZkO4+liEAKw8LO8= | |
| 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-Spam-SWARE-Status: | No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=recall, HTo:D*verizon.net, blake, Blake |
| X-HELO: | mx1.redhat.com |
| Subject: | Re: BASH 4.4 mapfile/readarray/read builtins mis-behaving with pipe [edit] documentation bug |
| To: | cygwin AT cygwin DOT com, rdbingham AT verizon DOT net |
| References: | <69b0bc3c-7ead-920e-f04b-ec631c3453b7 AT verizon DOT net> <2beb175e-2291-6b12-6efd-c84704f6762f AT verizon DOT net> |
| From: | Eric Blake <eblake AT redhat DOT com> |
| Message-ID: | <07814e3d-d637-47c2-74fd-cb2916c29099@redhat.com> |
| Date: | Fri, 20 Jul 2018 11:08:39 -0500 |
| User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <2beb175e-2291-6b12-6efd-c84704f6762f@verizon.net> |
| X-IsSubscribed: | yes |
On 07/17/2018 08:52 PM, BloomingAzaleas wrote:
> Reply to Steven Penny <svnpenn at gmail dot com>:
>
> Â Â no mis-behaving: this is intended behavior - you yourself have given
> Â Â workarounds: either redirect output to a file that can be later
> read, or pipe to
> Â Â command grouping ala {} or () and read stdin from inside the subshell
>
> I suggest the following adjustment to the man pages inserting a
> parenthetical cue regards behavior in pipes:
Is the behavior you are complaining about unique to Cygwin, or can it be
reproduced on a GNU/Linux box? If the latter, then an upstream bug
report is better than asking for a cygwin-specific patch. [Hint - as
the maintainer of the cygwin bash port, I don't recall adding any
cygwin-specific tweaks for mapfile - and a quick test on Fedora shows
the same behaviors]
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |