📜  if elif bqsh - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:31.458000             🧑  作者: Mango

代码示例1
if [ "$seconds" -eq 0 ];then
   $timezone_string="Z"
elif[ "$seconds" -gt 0 ]
then
   $timezone_string=`printf "%02d:%02d" $seconds/3600 ($seconds/60)%60`
else
   echo "Unknown parameter"
fi