Re: shell scripts issue

From: gazzag <gareth_at_jamms.org>
Date: Fri, 27 Nov 2009 02:49:16 -0800 (PST)
Message-ID: <590e7904-886d-403c-b0ff-d1fe3656e1c4_at_e23g2000yqd.googlegroups.com>



On 27 Nov, 05:51, Ram <krishna..._at_gmail.com> wrote:
> 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 ]
> then
> echo "file exists"
> else
> echo "not exists "
> fi
> done
>
> Regards

Oracle version?

-g Received on Fri Nov 27 2009 - 04:49:16 CST

Original text of this message