I want to retrieve the file from the INFILE directory which are begining with the file names prefix "BBSCGG_" or "BCT_" or "ACL_" or "ASC" and do the processing inside the for loop
INFILE=/ext/test/fil1/
for infile name in file prefix
... if [[ -f ${fspec} ]] ; then
processing logic
else
processing logic
done
how can i do it