shell script question

From: Joe P (unix1234@hotmail.com)
Date: Thu Oct 16 2003 - 08:51:18 EDT


I'm trying to read field 6 from one file then use that for a grep in
anyother, but all I get is just a white screen when I do this. Thanks for
your help.

JOE

     cat db1 | awk '{print $6}' | while read i
do

GREP=`echo $i | grep DB2`

done

_________________________________________________________________
Send instant messages to anyone on your contact list with MSN Messenger
6.0. Try it now FREE! http://msnmessenger-download.com
_______________________________________________
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:27:17 EDT