shell 脚本中=与:=与?=的区别?

=是全局的赋值,用到再赋值

:=是赋值

?=如果为空就赋值

猜你喜欢

转载自www.cnblogs.com/redman274/p/12154684.html