On Sun, Mar 03, 2024 at 10:29:17PM +, Venkat Raman via Bug reports for the
GNU Bourne Again SHell wrote:
> Repeat-By:
> exec 2>&test1 commands freezes the terminal and unable to close the
> fd.
>
> Fix:
> [Is there a sane way to close the fd?]
You're using the wrong syntax.
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX