[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep -e '\(a\)\1' -e '\(b\)\1'
From: |
Hans-Bernhard Broeker |
Subject: |
Re: grep -e '\(a\)\1' -e '\(b\)\1' |
Date: |
16 Feb 2001 15:15:51 GMT |
Tapani Tarvainen <address@hidden> wrote:
> The grep command in the subject line doesn't work
> correctly with Gnu grep 2.4: it fails to match 'bb'.
Looks like pilot error, to me:
$ echo bb | grep -e '\(a\)\1' -e '\(b\)\2'
bb
> Same problem with egrep '(a)\1|(b)\1'.
$ echo bb | egrep '(a)\1|(b)\2'
bb
--
Hans-Bernhard Broeker (address@hidden)
Even if all the snow were burnt, ashes would remain.