if(!($?VERSION)) then setenv VERSION endif if ($VERSION == "1.0"then ... else ... endif 转载于:https://www.cnblogs.com/lybinger/p/9945439.html