Re: [PATCH v6 00/11] Fix icase grep on non-ascii
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jun 18, 2016, 00:26 UTC
- Message-ID
- <CACsJy8CSVvZfwjG+zAEpG6tAWYAWVkrkz4RP32Hrr9O1A_8ZMg@mail.gmail.com>
- In-Reply-To
- <xmqq4m8rz9qr.fsf@gitster.mtv.corp.google.com>
On Sat, Jun 18, 2016 at 6:17 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
> Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes: > >> v6 fixes comments from Ramsay and Eric. Interdiff below. > > Another thing I noticed with this is that the non-ascii test breaks > when run under dash (but passes under bash). You need to have is_IS > locale on the system to see the breakage, it seems (which is why I > didn't see it so far).
Is it a special version, maybe from debian? It works for me on gentoo.
> ~/w/git/temp/t $ equery --quiet list dash
app-shells/dash-0.5.8.2
> ~/w/git/temp/t $ dash ./t7812-grep-icase-non-ascii.sh
# lib-gettext: Found 'is_IS.utf8' as an is_IS UTF-8 locale # lib-gettext: Found 'is_IS.iso88591' as an is_IS ISO-8859-1 locale ok 1 - setup ok 2 - grep literal string, no -F ok 3 - grep pcre utf-8 icase ok 4 - grep pcre utf-8 string with "+" ok 5 - grep literal string, with -F ok 6 - grep string with regex, with -F ok 7 - pickaxe -i on non-ascii # passed all 7 test(s) 1..7
-- Duy