Just to warn everyone, this is 9 year old necro-thread.
In the future, please consider whether what you want to add is important enough to justify re-opening a long-dead thread. Thanks.
While I'm here, I'm going to add my own comment though, and say that lists of filenames should not be stored in a single variable anyway. Always use
arrays when you have multiple related strings to operate on.
Code:
files=( /usr/local/rpm /etc/samba /etc/httpd )
printf 'This is file: %s\n' "${files[@]}"