c shell脚本中查询变量有没有被定义

if(!($?VERSION)) then

  setenv VERSION

endif

if ($VERSION == "1.0"then

 ...

else

 ...

endif

posted on 2018-11-12 11:20  lybinger  阅读(819)  评论(0编辑  收藏  举报

导航