Files
tldr/pages.zh/common/unset.md
Jin 2a4ef14253 common/u*: add Chinese translation (#14688)
* common/u*: add Chinese translation

* Update uv-tool.md

* Update ugrep.md
2024-11-19 01:23:02 -08:00

288 B
Raw Blame History

unset

删除 Shell 变量或函数。 更多信息:https://manned.org/unset.

  • 删除变量 foo,如果该变量不存在则删除函数 foo

unset {{foo}}

  • 删除变量 foo 和 bar

unset -v {{foo}} {{bar}}

  • 删除函数 my_func

unset -f {{my_func}}