shell for循环1到100

用bash shell写程序时,常常会用到for循环,特别是从1到100这种需求,这里记录几种shell中从1到100的循环方法 方法 类c语言 [html]  view plain  copy  print ? for ((i=1; i<=100; i ++))   do       echo $i   done   in使用 [html]  view plain  copy  print ?
相关文章
相关标签/搜索