Bash heredoc on FD 3

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Jan 7 19:03:00 GMT 2019


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.
> 
> 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

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

-- 
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20190107/caa0d766/attachment.sig>


More information about the Cygwin mailing list