bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using exec to close a fd in a var crashes bash


From: Greg Wooledge
Subject: Re: using exec to close a fd in a var crashes bash
Date: Tue, 22 Aug 2023 15:29:54 -0400

On Tue, Aug 22, 2023 at 02:59:14PM -0400, Dale R. Worley wrote:
> The "{var}>..." mechanism *assigns* to $var, rather than
> taking its existing value.

... oh.  Well, today I learned something.

Excuse me now, while I go and close several open FDs in the shell where
I tested something the other day, which I had no idea were left open.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]