7 lines
120 B
Plaintext
Executable File
7 lines
120 B
Plaintext
Executable File
# test: closed fds should stay closed
|
|
exec 1>&-
|
|
echo TEST >TEST
|
|
echo JUNK # lost: stdout is closed
|
|
cat TEST >&2
|
|
rm TEST
|