On Wed, Feb 8, 2017 at 1:32 PM, Bruce Dubbs wrote:
> Paul Eggert wrote:
>>
>> Thanks for reporting that. It's a reasonably serious bug. I installed the
>> attached patch to fix it.
Thanks for the quick fix, indeed.
> Thanks for the patch. Are you going to consider releasing 2.28.1 soon? LFS
> i
Paul Eggert wrote:
Thanks for reporting that. It's a reasonably serious bug. I installed the
attached patch to fix it.
Thanks for the patch. Are you going to consider releasing 2.28.1 soon?
LFS is going into a package freeze in a few days and we would prefer a new
version to a patch.
--
Thanks for reporting that. It's a reasonably serious bug. I installed
the attached patch to fix it.
From bb77b090006bb941da22efa5095eb347eeef7b91 Mon Sep 17 00:00:00 2001
From: Paul Eggert
Date: Wed, 8 Feb 2017 13:00:11 -0800
Subject: [PATCH] grep: do not mishandle \. in multiple patterns
Proble
Hi,
we got a bug report a Gentoo [1] that grep-2.28 is broken when
searching for multiple patterns with -e:
grep-2.27:
% echo ".tar" | grep -e "\.tar"; echo $?
.tar
0
% echo ".tar" | grep -e "\.tar" -e "\.tbz"; echo $?
.tar
0
grep-2.28:
% echo ".tar" | grep -e "\.ta