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