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:message-id:date:from:to:subject:references :content-type; q=dns; s=default; b=QaaujOhFkqjr+beKU1Lyf6kX/TVpO XDiclMumU2PXyKh/OD74TSK2GbImVLlNi15VW+iuQf0kGqcAZ91J+NeJqkfCagOG B45VGCLKF+KUTttpi3UwpCvNlaHNpLr4din0WKWn0Ec90pr3Y/J1766js4vNy1/u trpPui8q67Kk94= 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:message-id:date:from:to:subject:references :content-type; s=default; bh=VQvM7VH1vA5V/er4JwY2KSJMPJs=; b=orc jF9ZMHCxAKkX6f4r0+SOAsbMf00JTXcpODe9pY1ydPMHY31YoT7QnUjZ9jdc0gIW F9EJP6qbdmYNCaKUmBUKGniY0OG2rYi21dceBSASB0hsLHVagzqt8M/hxrTtSv66 s7cxnR0y5FMZOtDsLCGxi8EzisJRJKOwT3BWKs14= 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=-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 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== Message-ID: <5c339a48.1c69fb81.2fff3.b0ba@mx.google.com> Date: Mon, 07 Jan 2019 10:28:24 -0800 (PST) From: Steven Penny To: cygwin AT cygwin DOT com Subject: Re: Bash heredoc on FD 3 References: <20190106201852 DOT GB4430 AT calimero DOT vinschen DOT de> Content-Type: text/plain; charset=utf8; format=flowed User-Agent: Tryst/2.8.0 (cup.github.io/umber/awk/tryst) 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