$ readonly PI=3.14$ unset PI-bash: unset: PI: cannot unset: readonly variable$ cat << EOF| sudo gdb attach $$ call unbind_variable("PI") detach EOF$ echo $PI$
本文共 202 字,大约阅读时间需要 1 分钟。
$ readonly PI=3.14$ unset PI-bash: unset: PI: cannot unset: readonly variable$ cat << EOF| sudo gdb attach $$ call unbind_variable("PI") detach EOF$ echo $PI$
转载于:https://my.oschina.net/mskk/blog/892687