Similarly, the || control operator separates two commands and runs the second command only if the first command returns a non-zero exit status.
类似地,||控制操作符分隔两个命令,并且仅当第一个命令返回非零退出状态时才运行第二个命令。
This routine takes in two arguments, the second being the absolute value of time by which, if the lock could not be acquired, the routine returns with a non-zero status.
这个例程有两个参数,第二个参数是绝对时间值。如果在到达这个时间时还无法获得锁,例程会返回且状态码非零。
Notice that when you run the command, the if statement for the last exit status is never reached because the script exits upon a non-zero return status of the cp command.
注意,当您运行该命令时,实现最终的退出状态的if语句将永远无法满足条件,因为脚本在遇到cp命令的非零返回状态时将退出。
If you set this variable, TCSH displays the exit status whenever a script or program returns a non-zero value, thereby indicating a potential error.
如果设置这个变量,那么当脚本或程序返回非零值时tcsh会显示退出状态,这会指出潜在的错误。
If you set this variable, TCSH displays the exit status whenever a script or program returns a non-zero value, thereby indicating a potential error.
如果设置这个变量,那么当脚本或程序返回非零值时tcsh会显示退出状态,这会指出潜在的错误。
应用推荐