shell - Iterating through a range of ints in ksh? -


How can I be repeated through a simple category for loops in KS?

For example, my script currently does this ...

 In  1 2 3 4 5 6 7 do # in the code  

... but I want to expand the range of range above D7. Is there any better syntax?

curly bracket?

  i in {1..7} do # stuffed  

Comments

Popular posts from this blog

ios - Form Sheet content disappearing -

MySql variables and php -

c++ - an enclosing-function local variable cannot be referenced in a lambda body unless if it is in capture list -