/dev/fd/N not synonymous with file descriptor N; it is on Linux
Sun Jan 6 20:19:00 GMT 2019
On Dec 16 17:31, Houder wrote:
> /dev/fd/N not synonymous with file descriptor N; it is on Linux
> 64-@@ cat /dev/fd/0 <<\EOF
> > Hi
> > EOF
> cat: /dev/fd/0: No such file or directory
> fails on Cygwin; not on Linux.
> Also see:
> ( Bash heredoc on FD 3 )
> Based on the output of strace on Linux, I composed an STC, that duplicates
> the steps taken by bash (and cat).
This should work in the latest developer snapshot uploaded to
https://cygwin.com/snapshots/ Please give it a try.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the Cygwin