56. shell编程常用参考

r=$(( 40 - 5 ))

文件描述符

exec 3<> /tmp/foo # open fd 3.
echo a >&3 # write to it
exec 3>&- # close fd 3.