1
0
Fork 0
bash/tests/vredir8.sub
Daniel Baumann fa1b3d3922
Adding upstream version 5.2.37.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 06:49:21 +02:00

13 lines
150 B
Text

# test varredir_close
: {fd}<>/dev/null
echo redir 1 >&$fd
exec {fd}>&-
shopt -s varredir_close
: {fd}<>/dev/tty
echo redir 2 >&$fd
exec {fd}>&-