daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest Nov 19th, 2017 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. echo "Podaj wartosc Max"
  3. read max
  4.  
  5. zakres=(a b c d e f g h i j k l m n o p q r s t u w x y z)
  6. max=$((max-1))
  7. p=23
  8.  
  9. for (( n=$max; n>=0; n-- )); do
  10. haslo[n]=${zakres[0]}
  11. done
  12. echo
  13.  
  14. for (( j=$max; $j>=0; j-- )); do
  15.         for (( i=0; $i<=$p; i++ )); do
  16.                 haslo[$j]=${zakres[$i]}
  17.                 for (( k=0; $k<=$max; k++ )); do
  18.                         echo -n ${haslo[$k]}
  19.                 done
  20.                 echo
  21.         done
  22. done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top