2023-11-16 23:19:36 -05:00

6 lines
159 B
Plaintext
Executable File

# redirects to closed descriptors should not leave these descriptors
# open afterwards
echo TEST 9>/dev/null
echo MUST ERROR OUT >&9
echo "Output to fd#9: $?"