shell scripts issue

From: Ram <>
Date: Thu, 26 Nov 2009 21:51:42 -0800 (PST)
Message-ID: <>

Hi all,

My scripts looks like this .. when i execute this script its says file does not exist even though file is present physically and if the file does not present in the file system then the output is null.

I am wrong somewhere .. ??

echo " enter file "
read name
for i in `find /apps12i -type f -name $name -printf %f ` do
if [ -e $i ]
echo "file exists"
echo "not exists "

Regards Received on Thu Nov 26 2009 - 23:51:42 CST

Original text of this message