I am getting binary operator expected
error while running my script. the script basically checks if a file exists in by checking the partial file name is present in the dir and then calls a function.
if [ -e $file_name* ] ; then
func_call
else
echo "file not found"
exit
fi
what am I doing wrong ??