blob: 224b96a35af9cde9fed8bffaf98910df6c7f9a10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
unset v
exec {v}</dev/null
if (( v >= 10 )); then echo ok 1; else echo bad 1; fi
exec {v}<&-
ulimit -n 6
exec </dev/null
unset v
exec {v}</dev/null
echo ${v-unset}
|