第338页 Flow Control: Branching with if
angwer (curios about programming)
- 章节名:Flow Control: Branching with if
- 页码:第338页
书中说
When no argument is passed, the exit status defaults to 0. 引自 Flow Control: Branching with if 是错误的,exit如果不带参数调用的话,返回值应该是上一条执行的命令(if中的条件判断也会影响)。可以参考help exit。return的返回值和exit一样。
91人阅读
说明 · · · · · ·
表示其中内容是对原文的摘抄