Advertisement
marek357

skrypt xd

Feb 13th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.24 KB | None | 0 0
  1. #!/bin/bash
  2. for(( i = 0; i < 1000; i++)) do
  3. if(( $i < 10 ))
  4. then
  5.         echo $((i+i)) > kolor000$i.txt
  6. elif(( $i < 100 ))
  7. then
  8.         echo $((i+i)) > kolor00$i.txt
  9. elif(( $i < 1000 ))
  10. then
  11.         echo $((i+i)) > kolor0$i.txt
  12. fi
  13. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement