Web lists-archives.com

Re: Bash heredoc on FD 3




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