function
Define a function. See also:
declare,unset. More information: https://www.gnu.org/software/bash/manual/bash.html#Shell-Functions.
- Define a function with the specified name:
function { ; }
- Run a function named
func_name:
func_name
- Define a function without the
functionkeyword:
() { ; }
- Display help:
help function
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
