[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ubuntu-users
Subject:    RE: grep with --extended-regexp much slower on Ubuntu 16.04
From:       Brian Bird <Brian.Bird () securetrading ! com>
Date:       2018-02-12 17:23:34
Message-ID: AM5PR0502MB3073901D630B7529F7EAD2FB84F70 () AM5PR0502MB3073 ! eurprd05 ! prod ! outlook ! com
[Download RAW message or body]

On Fri, 9 Feb 2018 16:23:42 -0600, C de-Avillez wrote:
> Perhaps (in fact, probably) related to bug 26193 on grep? Please see 
> the thread on this at [1]. The fix was included in grep 3.1.
> [1] https://lists.gnu.org/archive/html/bug-grep/2017-03/msg00009.html

I just tried grep 3.1 downloaded from the artful repository and that seems to fix it:

# dpkg -i /tmp/grep_3.1-2_amd64.deb
# openssl rand -out /tmp/random.txt -base64 100000000; time grep --extended-regexp \
"[0-9]{10}$" /tmp/random.txt real    0m0.413s
user    0m0.368s
sys     0m0.040s


Strange Ubuntu have left such a bug in a LTS release. At first glance it doesn't look \
like this causes any obvious compatibility problems, so I may stick with it. Thanks \
for all your help/suggestions!

Brian

-- 
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: \
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic