I want to grep all dates in August or September (date format mm/dd/yyyy with leading zeroes).
I tried:
grep '0\(8\|9\)/[0-9][0-9]/2012'
But command prompt outputs:
The system cannot find the path specified.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
grepwants a regular expression and a file name. The error message looks like you somehow passed an invalid file name. Assuming the file containing the log entries is namedlog, try this;(I also tweaked your regex a bit.)