The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




Thread: Help in grep
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-17-2008
thana thana is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 55
Help in grep

Hi folks,
I have a shell script which accepts 1 argument. Now I need the check if the argument that has been passed is of correct format.
The argument passed will be a date of the format ddmmyy. I want to match the pattern something like grep -e "[0-9]{6}".

Can any one please help me.