update: fixed heredoc finaly :D
This commit is contained in:
parent
da223422b0
commit
cc1e2b7fdc
7 changed files with 77 additions and 13 deletions
6
close.sh
Normal file
6
close.sh
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
for fd in $(/usr/bin/env ls /proc/$$/fd); do
|
||||
if [ "$fd" -gt 10 ]; then
|
||||
#echo "$fd"
|
||||
exec {fd}>&-
|
||||
fi;
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue