为什么这个脚本会发送两封电子邮件而不是一封?
>> which AppDB
C:\Users\rudolf\Documents\App\AppDB.m % AppDB constructor
>> which testFunc
C:\Users\rudolf\Documents\App\testFunc.m % Has no license available
>> which emptyfile
C:\Users\rudolf\Documents\App\emptyfile.m % Has no license available
答案 0 :(得分:2)
[ -z "${MOVIE}" ] && : || echo "Please don't reply to this
请注意,A && B || C
不是if-then-else
。当A为真时,C可以运行。