From: Goutham.Nithyanandam@in.standardchartered.com
Date: Fri Mar 03 2006 - 19:15:54 EST
Hi all,
In a shell script i want to check a file which contains a word
"PARTIAL".
how can i check this. for eg
if [ -f $outfile ]
then
echo "Output file [$outfile] already exists"
The abv script would check exact file by name outfile, but i need to check
for a word PARTIAL in a directory
Thanks in Advance
Regards,
N. Gowthaman
This email is confidential. If you are not the addressee tell the sender immediately and destroy this email without using, sending or storing it. Emails are not secure and may suffer errors, viruses, delay, interception and amendment. Standard Chartered PLC and subsidiaries ("SCGroup") do not accept liability for damage caused by this email and may monitor email traffic.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:39:11 EDT