[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23892: grep is not "grepping" from grep-2.23-1 (archlinux) with exte
bug#23892: grep is not "grepping" from grep-2.23-1 (archlinux) with external fixed patterns file.
Mon, 4 Jul 2016 13:05:25 -0700
tags 23892 notabug
[I've re-added the bug-tracking address to record that this was not a
bug and that the issue auto-created by your email is closed. ]
On Mon, Jul 4, 2016 at 11:56 AM, Pascal <address@hidden> wrote:
> that's right, with LANG=C before grep : all lines are processed :-)
Use LC_ALL=C, not LANG=C. The latter is not portable, while the former is.
> but why it was good with grep 2.22 ?
We discovered bugs -- triggered by e.g., invalid multibyte characters --
that could cause a segfault or an infinite loop that were present in 2.22,
and to fix them, we had to make grep more strict.