[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25499: [PATCH] grep: fix matching not longest pattern with grep -Fo
From: |
Norihiro Tanaka |
Subject: |
bug#25499: [PATCH] grep: fix matching not longest pattern with grep -Fo |
Date: |
Sat, 21 Jan 2017 18:14:48 +0900 |
grep -Fo may not match longest pattern in grep 2.26 or later including
current master.
$ printf 'abce\n' > in
$ printf 'abcd\nc\nbce\n' > pat
$ LC_ALL=C src/grep -Fof pat in
c
We expect "bce" in this case.
0001-grep-fix-matching-not-longest-pattern-with-grep-Fo.patch
Description: Text document
- bug#25499: [PATCH] grep: fix matching not longest pattern with grep -Fo,
Norihiro Tanaka <=