The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 01-24-2008
ali560045's Avatar
ali560045 ali560045 is offline
Registered User
 

Join Date: Oct 2007
Posts: 299
i checked that way ,but thats not the effective way in my case....

actually my files will contain some dates in it in the format y-m-d.so i need to do

cat filename | grep "the latest date"

i have to go inside the file to serch the latest date.......

so asking how to grep the latest date inside file
Reply With Quote