Syntax error?

This commit is contained in:
Adrien Bourmault 2021-08-31 12:46:46 +02:00
parent e975336f8c
commit de757d0be0
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
1 changed files with 2 additions and 1 deletions

View File

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