Shell使用C语言风格的for循环编写
1、C语言中的for循环:#include <stdio.h>int main(){ int i=0; for(i = 0; i < 5; i++) { printf("The next number id %d\n", i); }}# 运行结果:The next number id 0The next number id 1The next number id 2The next number id 3The next