[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Grep Curly Braces aren't working
From: |
Shaner Yo |
Subject: |
Grep Curly Braces aren't working |
Date: |
Tue, 26 Jun 2012 14:41:31 -0600 |
Hello,
I'm starting to use cygwin with grep command. Using curly braces with a
regex pattern is not working, even when I escape it. What am I doing
wrong?
I'm trying to search for four 0's in a row (Not using '0000') but none
of these work:
Grep 0{4}
Grep 0{0,4}
Grep 0\{4\}
Grep 0\{4}
Please tell me the answer, I've been googling for over an hour...
Thanks,
Shaner Yo
Safeway Inc. | Performance Test Analyst
200-1345 Waverley St, Winnipeg, MB R3T 5Y7
PH: 204.487.5889
"Email Firewall" made the following annotations.
------------------------------------------------------------------------------
Warning:
All e-mail sent to this address will be received by the corporate e-mail
system, and is subject to archival and review by someone other than the
recipient. This e-mail may contain proprietary information and is intended
only for the use of the intended recipient(s). If the reader of this message
is not the intended recipient(s), you are notified that you have received this
message in error and that any review, dissemination, distribution or copying of
this message is strictly prohibited. If you have received this message in
error, please notify the sender immediately.
==============================================================================

- Grep Curly Braces aren't working,
Shaner Yo <=