[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep -i in UTF-8: newline not printed after matching line if it contains
From: |
Ilya Basin |
Subject: |
grep -i in UTF-8: newline not printed after matching line if it contains I WITH DOT (U+0130) |
Date: |
Sat, 11 Dec 2010 19:34:58 +0300 |
Hi.
$ grep -i . greptest.txt
aIabIbcIcdId$
This doesn't happen without -i or with LANG=C
$ grep --version
grep (GNU grep) 2.7
$ echo $LANG
en_US.UTF-8
pcre 8.10
Linux IL 2.6.36-ARCH #1 SMP PREEMPT Wed Nov 24 06:44:11 UTC 2010 i686 Intel(R)
Core(TM)2 Duo CPU E6550 @ 2.33GHz GenuineIntel GNU/Linux
greptest.txt
Description: Text document
- grep -i in UTF-8: newline not printed after matching line if it contains I WITH DOT (U+0130),
Ilya Basin <=