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

17 lines
288 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# unset
> 删除 Shell 变量或函数。
> 更多信息:<https://manned.org/unset>.
- 删除变量 `foo`,如果该变量不存在则删除函数 `foo`
`unset {{foo}}`
- 删除变量 foo 和 bar
`unset -v {{foo}} {{bar}}`
- 删除函数 my_func
`unset -f {{my_func}}`