Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: <(...), >(...) and fds above 9



On Tue, 2 Jul 2019 at 14:21, Stephane Chazelas
<stephane.chazelas@xxxxxxxxx> wrote:
> Neither ksh93 nor bash close the fds opened with
> { cat <(ls -l /proc/self/fd; } {fd}< file
> (that syntax doesn't work in zsh as already reported).

Can I ask you what do you mean by closing the descriptor? I recently
often do exec {FD}< <(some code); zle -F $FD handler and it is
working, which to me appears as the FD not being closed?



Messages sorted by: Reverse Date, Date, Thread, Author