Hi

I was wondering if it´s possible to scan a directory contents using a shell script and put the contents into an array

list=
xxxxx, yyyyy, zzzzz etc

also is there anyway to filter the file names? Such as if a file is named a.data.txt then

list=
data.txt filtering out a.

Any help would appreciated

thanx