This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bash heredoc on FD 3


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

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]