Scott,
You might want to try and use the "find" command. This will output
the complete path of the file found return code you can do some form of
logic on.
Such as:
find <some path> -name "yyyy"
Just my 2 cents worth.
Jon
-----Original Message-----
From: Scott Koos [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 10:57 AM
To: [EMAIL PROTECTED]
Subject: grep question
Hi All,
Dumb question on grep, I'm trying to find if a file exists and the path
to it. ls -laR | grep yyyyy shows me the yyyyy file exists, is there a way
to show the path to the file also.
Thanks in advance,
Scott