From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 114234 invoked by alias); 7 Jan 2019 18:28:29 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 114222 invoked by uid 89); 7 Jan 2019 18:28:28 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=H*M:1c69fb81, H*M:google, reading X-HELO: mail-ot1-f41.google.com Received: from mail-ot1-f41.google.com (HELO mail-ot1-f41.google.com) (209.85.210.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 07 Jan 2019 18:28:27 +0000 Received: by mail-ot1-f41.google.com with SMTP id f18so1173245otl.11 for ; Mon, 07 Jan 2019 10:28:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:to:subject:references:user-agent; bh=28qeHFOY+mEyVTeWt2ueVkZr9FKcCfBpBNGyqSmv9Os=; b=vccVVXdMwuM/N5MNbwiNBLSYtU0Bk91yeIE/puI6qQjYIkJaPZxdGpqGyKVbHga6Z/ m0wg+rO0uMAEbDi26eFy1N6tx/IqIhwYnN3WH7O8pWTsB2yOPgb8pQFIOOoGNE8n7SSH g80NmP5BOdXA4vydukXx4epQF8sbMgLT5irAEDJUVXhFUkv64rgt3T5vF07JS04SP2XV P6ERUd85f4Qt+SopomSy7Q8JbS8lDrKmy7Z+HySrfoP2ZRy6yLE1mu++aBYw8iuoycaC 5iriOdV5H95wDe3C9YUXJ6BYT3GUeiDIaAKYcwouHLEvIcDPZG1uWvrCr4+eajTe2mDy wadQ== Return-Path: Received: from 7E0 ([2605:6000:9fc0:56:ea:4b9e:30f:6e22]) by smtp.gmail.com with ESMTPSA id h7sm30415614otb.45.2019.01.07.10.28.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Jan 2019 10:28:24 -0800 (PST) Message-ID: <5c339a48.1c69fb81.2fff3.b0ba@mx.google.com> Date: Mon, 07 Jan 2019 18:28:00 -0000 From: Steven Penny To: cygwin@cygwin.com Subject: Re: Bash heredoc on FD 3 References: <20190106201852.GB4430@calimero.vinschen.de> Content-Type: text/plain; charset=utf8; format=flowed User-Agent: Tryst/2.8.0 (cup.github.io/umber/awk/tryst) X-SW-Source: 2019-01/txt/msg00026.txt.bz2 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. Hm interesting: $ uname -a CYGWIN_NT-6.1 Steven-PC 2.12.0s(0.330/5/3) 2019-01-06 19:42 x86_64 Cygwin $ dash hello.sh hello world $ bash hello.sh awk: error: can't open source file `/dev/fd/3' for reading (Permission denied) $ unset POSIXLY_CORRECT $ bash hello.sh hello world -- 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