By default, most products and environments tend to err on the conservative side with a relatively small set of diagnostics enabled at all times.
在缺省情况下,大多数产品和环境往往因为过于保守(始终启用相对较小的诊断集)而出现错误。
Errexit: if a command has an exit status of anything but 0 (zero), execute the err trap (if it is set and exists).
errexit:如果某个命令产生非0(零)的退出状态并且设置了err陷阱,则执行err陷阱并退出。
Errexit: if a command has an exit status of anything but 0 (zero), execute the err trap (if it is set and exists).
errexit:如果某个命令产生非0(零)的退出状态并且设置了err陷阱,则执行err陷阱并退出。
应用推荐