Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/system/bin/sh
- psptl=0
- psps=0
- ptlptl=0
- ptlps=0
- sor=1
- sorok=`wc -l $1`
- while [ sorok -ge sor ]
- do
- echo a sorok beolvasasa
- szamok=`wc -w`
- echo vegig menni a szamokon
- sor=`expr $sor + 1`
- done
- echo $psptl $psps $ptlptl $ptlps
- 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
- do
- 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
- do
- if [ `expr $sor MOD 2` -eq 0 ]
- if [ `expr $i MOD 2` -eq 0 ]
- psps=`expr $psps + 1`
- elif
- psptl=`expr $ptlps + 1`
- fi
- elif
- if [ `expr $i MOD 2` -eq 0 ]
- ptlps=`expr $ptlps + 1`
- elif
- ptlptl=`expr $ptlptl + 1`
- fi
- fi
- done
- done < $1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement