man bash 3 定义 保留字

定义(Definitions)

下面的定义被用在该文档的其余部分。

空白(blank)

一个空格(space)或者制表符(tab)。

单词(word)

一个字符序列,被shell认为是单一单元。也叫做标记(token)。

名字(name)

一个单词(word),只包含字母数字(alphanumeric)和下划线(underscore),以字母(alphabetic)或者下划线开头。也称标识符(identifier)。

元字符(metacharacter)

分隔单词的字符:

| & ; ( ) < > space tab

控制操作符(control operator)

执行控制功能的标记(token)。

|| & && ; ;; ( ) | |& <newline>

保留字(Reserved Words)

保留字(reserved word)对shell有特殊意义。下列单词被识别为保留字,如果是简单命令的第一个单词或者是casefor命令的第三个单词。

! case do done elif else esac fi for function if in select then until while { } time [[ ]]


你可能感兴趣的:(man bash 3 定义 保留字)