I have a CT.txt with below input data.CT.txt:test testing test 1And with below script:#!/bin/bashfor CITY in $(cat /home/user/CT.txt)do FILES=/mnt/dir1/dir2/$CITY/*echo $FILESGiving me output as follow:/mnt/dir1/dir2/test/mnt/dir1/dir2/testing/mnt/dir1/dir2/test/*/mnt/dir1/dir2/1/*where output should be:/mnt/dir1/dir2/test/mnt/dir1/dir2/testing/mnt/dir1/dir2/test 1How to make CT.txt file to read having space in between test 1.
Loop space directory name
bash;shell;quoting;wildcards