Bonjour voici mon code:
- ! /bin/bash
i="0"
cd tig_test_files
rmdir tmp
mkdir tmp
cd ..
while [ $i -lt $1 ]
do
array=(`ls tig_test_files/`)
str1="${array[$(expr $RANDOM % ${#array[@]})]}"
...
done
Ligne 12 : Syntax error: "(" unexpected (expecting "done")
Je ne comprend pas, pourriez vous m'aider svp ?
