Dear list,

I was surprised to learn that 'grep -i' does not
really work for accented letters

odin:~$ cat a
křížala
kŘíŽala
odin:~$ grep -i ž a
křížala
odin:~$ grep -i Ž a
kŘíŽala

As I had LC_COLLATE="C", I tried also with this
set to en_US.UTF-8, but to no avail.

Does grep -i only work for ascii letters?
Is there a general way to achive 'true' case
insensitive match (other than list all possibly
present accented letters in both forms, i.e.,
as [žŽ] in my case?


Thanks
Ruda

Reply via email to