I've got script, it must go through files to get specific lines from them. Filename get from variable, for example $FILENAME and we've got such situation:
cat /path/$FILENAME
but when FILENAME==*.some.file there is a problem. File *.some.file really exist, but cat lists all files by mask *.some.file (first.some.file second.some.file *.some.file fourth.some.file and so on)
single quotes on path prevent include of variable.
Any ideas how to cat (or grep) only one *.some.file?