A simple example using arithmetic expansion:
# repeat a command 100 timesx=100while [ $x -gt 0 ]do command x=$(($x-1))done
Post a Comment
No comments:
Post a Comment