From ce6cc5004cbe824f22f7409fa6ff5b3bfd463a6b Mon Sep 17 00:00:00 2001 From: niepra01 <rolf.niepraschk@ptb.de> Date: Wed, 21 Jun 2017 14:34:06 +0200 Subject: [PATCH] Exp. ohne Punkt --- LH/createImages | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LH/createImages b/LH/createImages index 0197460..b236278 100755 --- a/LH/createImages +++ b/LH/createImages @@ -79,7 +79,7 @@ dotPos[3]=${digitPos[3]} for ((FNb=1; FNb<=MAX_FILES; FNb++)); do value="" -DPR=$((RANDOM % ($NUMBER_OF_DIGITS + 1))) # random dot position (0..$NUMBER_OF_DIGITS) +DPR=$((RANDOM % ($NUMBER_OF_DIGITS))) # random dot position (0..$NUMBER_OF_DIGITS-1) for (( i=1; i<=$MAX_DIGITS; i++ )); do if (( $i == 4 )); then value+="-" -- GitLab