[aklug] Re: Q for grep geeks

From: <bryanm@acsalaska.net>
Date: Tue Aug 26 2008 - 21:56:35 AKDT

On Tue, August 26, 2008 9:48 pm, William Attwood wrote:
> On Tue, Aug 26, 2008 at 11:46 PM, <bryanm@acsalaska.net> wrote:
>
>> How can I match a doubled character, like the "ll" in sallied?
>> I tried .{2} with egrep, but that just reduces to .. (any two
>> characters).
>
> \|{2}

Wow, quick response! That doesn't seem to be what I'm looking for,
though. I want a regex that will match aa, bb, cc, etc.

--
Bryan Medsker
bryanm@acsalaska.net
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Tue Aug 26 21:56:51 2008

This archive was generated by hypermail 2.1.8 : Tue Aug 26 2008 - 21:56:51 AKDT