|
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.
|