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 -->
  #4 (permalink)  
Old 01-24-2008
ennstate ennstate is offline
Registered User
 

Join Date: Mar 2007
Location: Chennai
Posts: 222
Quote:
Originally Posted by ali560045 View Post
i need to check the dates inside the file by using the command


cat filename | grep date
I couldn't get your question,by the way why "cat filename | grep date" while "grep date filename" can do the same job much efficiently?

Thanks
Nagarajan G
Reply With Quote