I am creating ftp.log.processid at run time via my script
now i need to grep this file for a word 'get'
grep -i "get" $ftp_log.$!
I am using the above expression - but it always shows no such file or directory and i see a dot (.) created at the end at run time as below grep -i ftp.log.1234. why is there a dot at the end of grep - and how to avoid getting this created at run time and grep correctly