add new chinese translations
This commit is contained in:
12
pages.zh/common/function.md
Normal file
12
pages.zh/common/function.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# 函数
|
||||
|
||||
> 定义一个函数。
|
||||
> 更多信息:<https://www.gnu.org/software/bash/manual/bash.html#Shell-Functions>。
|
||||
|
||||
- 定义一个指定名称的函数:
|
||||
|
||||
`function {{func_name}} { {{echo "函数内容在这里"}}; }`
|
||||
|
||||
- 运行一个名为 `func_name` 的函数:
|
||||
|
||||
`func_name`
|
Reference in New Issue
Block a user