日期:2014-05-16  浏览次数:20724 次

WindowsBatch与LinuxShell比较[shell循环实例]

WindowsBatch与LinuxShell比较[shell循环实例]

?

Shell的循环实例:

复制代码
<!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->#!/bin/bash
do
done
#!/bin/bash
do
done
#!/bin/bash
do
done
#!/bin/bash
do
"
done

#!/bin/bash
echo item: $i
done

#!/bin/bash
for i in `seq 110`;