Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
像这样的一行代码有什么作用?
if ("$MY_VARIABLE" == "some_string") ...
这就是 csh 将变量解释为字符串以进行比较和赋值的方式吗?
引号意味着变量将被扩展为具有完整空格的单个参数,而不是在空格处分成多个部分。