Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. for (( count= "$WP_RANGE_START"; count< "$WP_RANGE_STOP"+1; count=count+1 ));
  2.  
  3. for (( count="$WP_RANGE_STOP"; count >= "$WP_RANGE_START"; count=count-1 ));
  4.  
  5. for (( count=WP_RANGE_STOP; count >= WP_RANGE_START; count-- ));
  6.  
  7. for i in {0..10}; # or {10..0} or what have you
  8.  
  9. for count in $(eval echo {$WP_RANGE_START..$WP_RANGE_STOP});
  10.  
  11. for count in $(eval echo {$WP_RANGE_STOP..$WP_RANGE_START});
  12.  
  13. CHANGE=1
  14. for count in $(eval echo {$WP_RANGE_STOP..$WP_RANGE_START..$CHANGE});
  15.  
  16. i=11 ; until [ $((i=i-1)) -lt 1 ] ; do echo $i ; done
  17.  
  18. 10
  19. 9
  20. 8
  21. 7
  22. 6
  23. 5
  24. 4
  25. 3
  26. 2
  27. 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement