提交 06cc1ec2 编写于 作者: S Shengliang Guan

loop.sh

上级 f95d5776
......@@ -6,7 +6,7 @@
#
##################################################
set +e
set -e
#set -x
CMD_NAME=
......@@ -30,9 +30,10 @@ done
echo LOOP_TIMES ${LOOP_TIMES}
echo CMD_NAME ${CMD_NAME}
for (( i=0; i<$LOOP_TIMES; i++ ))
for ((i=0; i<$LOOP_TIMES; i++ ))
do
echo loop $i
echo cmd $CMD_NAME
$CMD_NAME
sleep 2
done
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册