Chet Ramey <chet.ra...@case.edu> writes:
> On 6/1/20 3:34 PM, Oguz wrote:
>> See:
>> 
>>     $ unset foo
>>     $ : <$((foo+=42))
>>     bash: 84: No such file or directory
>>     $ echo $foo
>>     84
>
> Yes. The redirection is evaluated once for the open and again for the
> error message.

That does seem rather a bug, or at least, a poor error message.  Is it
hard to save the string that was attempted to be opened?

Dale

Reply via email to