Repeated executions of: { echo $fd ; } {fd}> /dev/null
will emit different numbers, indicating that fd is not closed when the
block completes.


As an interesting aside it seems not to be possible to close the FD within
the block either:

{ echo $fd ; eval exec "$fd>&-" ; } {fd}> /dev/null

Reply via email to