Advertisement
Bumler

Untitled

Nov 17th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. #!/system/bin/sh
  2. psptl=0
  3. psps=0
  4. ptlptl=0
  5. ptlps=0
  6. sor=1
  7. sorok=`wc -l $1`
  8. while [ sorok -ge sor ]
  9. do
  10. echo a sorok beolvasasa
  11. szamok=`wc -w`
  12. echo vegig menni a szamokon
  13.  
  14. sor=`expr $sor + 1`
  15. done
  16. echo $psptl $psps $ptlptl $ptlps
  17.  
  18.  
  19. while read -r a b c d e f g h i j k l m o p q r s t u v w x y z
  20. do
  21. while i in a b c d e f g h i j k l m o p q r s t u v w x y z
  22. do
  23. if [ `expr $sor MOD 2` -eq 0 ]
  24. if [ `expr $i MOD 2` -eq 0 ]
  25. psps=`expr $psps + 1`
  26. elif
  27. psptl=`expr $ptlps + 1`
  28. fi
  29. elif
  30. if [ `expr $i MOD 2` -eq 0 ]
  31. ptlps=`expr $ptlps + 1`
  32. elif
  33. ptlptl=`expr $ptlptl + 1`
  34. fi
  35. fi
  36. done
  37. done < $1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement