common/u*: add Chinese translation (#14688)
* common/u*: add Chinese translation * Update uv-tool.md * Update ugrep.md
This commit is contained in:
16
pages.zh/common/unset.md
Normal file
16
pages.zh/common/unset.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# unset
|
||||
|
||||
> 删除 Shell 变量或函数。
|
||||
> 更多信息:<https://manned.org/unset>.
|
||||
|
||||
- 删除变量 `foo`,如果该变量不存在则删除函数 `foo`:
|
||||
|
||||
`unset {{foo}}`
|
||||
|
||||
- 删除变量 foo 和 bar:
|
||||
|
||||
`unset -v {{foo}} {{bar}}`
|
||||
|
||||
- 删除函数 my_func:
|
||||
|
||||
`unset -f {{my_func}}`
|
Reference in New Issue
Block a user