Re: leaks fd for internal functions but not external command
From:
Greg Wooledge
Subject:
Re: leaks fd for internal functions but not external command
Date:
Tue, 23 Jul 2019 11:52:18 -0400
User-agent:
Mutt/1.10.1 (2018-07-13)
On Tue, Jul 23, 2019 at 04:40:03PM +0100, Sam Liddicott wrote:
> Is using {xxx}>... suppose to give me a file handle I can use as I wish (as
> you say), or not?
>
> Using explicit descriptors e.g. 10>... behaves consistently whether the the
> command is internal or external.
>
> Having bash allocate the descriptor is not consistent.
>
> Sam
I'm getting major deja vu here.
https://lists.gnu.org/archive/html/bug-bash/2012-11/msg00082.html