5

grep problem

view full story
linux-howto

http://www.unix.com – Hi, I am running a command line from a solaris command line onto a red hat linux: Solaris line works: TODAY2="Feb" TODAY3="08" TODAY4="2012" search4=">>> file process at ... ${TODAY2} ${TODAY3} ........ ..T ${TODAY4}<<<" SF4=`grep "$search4" filename | nawk 'BEGIN {FS=" "} {print $13}'` echo $SF4: >>> file process at Wed Feb 08 14:54:53 GMT 2012<<< On Linux server it does not work it returns nothing????? as though it cannot find the string??? i am confused It is some (HowTos)