This is working, we can see all spaces in path (between "-" and "MOYEN").
[root@xx ~]# echo "${FILE_LIST_PATH[7]}"
files_encryption/keys/files/xx/xx - Enceinte - MOYEN 1 & 2.DWG 23172
When i pipe awk, additionnal space is removed (between "-" and "MOYEN")
[root@xx ~]# echo "${FILE_LIST_PATH[7]}" | awk '{$NF=""}1'
files_encryption/keys/files/xx/xx - Enceinte - MOYEN 1 & 2.DWG
When i attribute variable, same
[root@xx ~]# FILE_PATH=`echo "${FILE_LIST_PATH[7]}"`
[root@xx ~]# echo $FILE_PATH
files_encryption/keys/files/xx/xx - Enceinte - MOYEN 1 & 2.DWG 23172
I need to avoid processes to delete additionnal spaces. Thanks.