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:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=xxidWmJ50kku64dHpG+givZj71PCE0QvvVzONwjuY6IueDzoAidUR W5O01sAl51W3G7C0241WrflJoWKVmIaOXwmUFGNDjaObN+RyCQXeIRx0OXOXxCuS 6dMvK1g8N8DpVKxdCS38xMfV3pGPXjhQ4uRCpG8nQ7FbyPNZPo5SW4= 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:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=rX/Uwt2V8AJK9SvdAAYhXyxad1M=; b=b0jH8+cqe+LBbMxSJq21DxpCvB0s 35x8xfeNoNf1H375Unw8JO2t0oGO6HwTZlVlx/lFnA3yWTDeBu5lItoUvDa40POK ptEiHzXxRV8n0zc9z03HSSkOEdKOthZK3+YMGOjG8mJM1cQvYfavHUMV9xxELnAe 9vvTejohsG/MstU= 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-Spam-SWARE-Status: No, score=-100.4 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=Hx-languages-length:813, reading X-HELO: mout.kundenserver.de Date: Mon, 7 Jan 2019 20:03:13 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Bash heredoc on FD 3 Message-ID: <20190107190313.GD593@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20190106201852 DOT GB4430 AT calimero DOT vinschen DOT de> <5c339a48 DOT 1c69fb81 DOT 2fff3 DOT b0ba AT mx DOT google DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e" Content-Disposition: inline In-Reply-To: <5c339a48.1c69fb81.2fff3.b0ba@mx.google.com> User-Agent: Mutt/1.10.1 (2018-07-13) --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jan 7 10:28, Steven Penny wrote: > On Sun, 6 Jan 2019 21:18:52, Corinna Vinschen wrote: > > This should work in the latest developer snapshot uploaded to > > https://cygwin.com/snapshots/ Please give it a try. >=20 > Hm interesting: >=20 > $ uname -a > CYGWIN_NT-6.1 Steven-PC 2.12.0s(0.330/5/3) 2019-01-06 19:42 x86_64 Cyg= win >=20 > $ dash hello.sh > hello world >=20 > $ bash hello.sh > awk: error: can't open source file `/dev/fd/3' for reading (Permission > denied) >=20 > $ unset POSIXLY_CORRECT > $ bash hello.sh > hello world I can't reproduce this with my latest code. It works fine for me every time, independently of POSIXLY_CORRECT. I uploaded new snapshots to https://cygwin.com/snapshots/ with all the latest changes. Please try again. Corinna --=20 Corinna Vinschen Cygwin Maintainer --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlwzonEACgkQ9TYGna5E T6BWEA//YjObSnSvuD/SF/HHj/OCxNnGVFgHEIFofLtSBgOz5onC8LhAhxYwC5AN yTKbOxzppJrjEt838syCJANy94nBc/ARnuyHH25Om4HBnSO097tHb20AxrtibbIy cdNwqgtiiqdSONYm8aWy21HPA4zO4mZ67eT/UNlORa889nDzPE7XlXAdgUcnFa9O iDreMrj4G2C+ERcCBTiLCBhqbED6ssWf0QiToaYLX1TYa8GwiOzQeJzDI29Jk718 63yXPYG1EZaaCJUJ51Bj5rJBC/lGfEWdxogjthVqffCb/BIB69p++Bd/y9VnpHCN +ZadsX2a8E88Yi3hbmqMtbxkWnrbPEADurTTRkU5RNoZIIjgRZpx9Izd6gEbYUk4 Albs2I7hJAz3roEBfpbV5/YFLTF/xYlSGgIiaLwYF8PGauRpP1p8ceukb14G8D+E KZImTv4VG4FuWtc37gxxSOpEQVYO4rut9Rl0wvtmCw/DJBs5fXpSzgX91oqdd+AG Re/mfbuExkAEr8eUkeW3rEy6OOMYM0IvRZXFwgESvpC1Eg//7z+hWnbPAnT8hAyI FkiUoMkRLiOL0i+iyV8hHQGs7vdOHlSg6AvgOkqIrio+Ov8tI2jlOHuBpaMRMIhm TcMTrc24AGxDvA/MCKXLhEzonzoXu5Ns6IG9Lkzg77Xs6y4MWCE= =BIT4 -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e--