Skip to content
Snippets Groups Projects
Commit 0c669692 authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

...

parent e50f9abb
Branches
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ dotPos[1]=${digitPos[1]} ...@@ -66,7 +66,7 @@ dotPos[1]=${digitPos[1]}
for ((FNb=1; FNb<=MAX_FILES; FNb++)); do for ((FNb=1; FNb<=MAX_FILES; FNb++)); do
DPR=$((RANDOM % $NUMBER_OF_DIGITS + 1)) # random dot position (1..$NUMBER_OF_DIGITS) DPR=$((RANDOM % $NUMBER_OF_DIGITS + 1)) # random dot position (1..$NUMBER_OF_DIGITS)
for i in {1..7}; do for (( i=1; i<=$MAX_DIGITS; i++ )); do
DNR[$i]=$((RANDOM % 10)) # random digit number (0..9) DNR[$i]=$((RANDOM % 10)) # random digit number (0..9)
if [ $DPR == $i ]; then if [ $DPR == $i ]; then
DF[$i]="$dotFile" DF[$i]="$dotFile"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment