Syntax error?

This commit is contained in:
Adrien Bourmault 2021-08-31 12:49:23 +02:00
parent de757d0be0
commit 2db7ca5cc0
Signed by: neox
GPG Key ID: 6EB408FE0ACEC664

View File

@ -150,8 +150,8 @@ INSTRUCTIONS2="...en remplaçant chaque X par la somme"
# **************************************************************************** # ****************************************************************************
MODULES=(CALCUL NOTIN REPLACE REVERSE) MODULES=(CALCUL NOTIN REPLACE REVERSE)
NMODULES=#MODULES[@] NMODULES=
RMODULE=`seq 0 $((NMODULES-1)) | sort -R | head -n 1` RMODULE=`seq 0 $(( ${#MODULES[@]} - 1)) | sort -R | head -n 1`
#eval "${MODULES[RMODULE]}" #eval "${MODULES[RMODULE]}"
TEXT="$NEWINPUT" TEXT="$NEWINPUT"