Project

General

Profile

Bug #6759

Equivalence classes do NOT work at all

Added by Geo Delles over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-03-19
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

  1. echo á | grep '[[=a=]]'
  2. echo ô | grep '[[=o=]]' #

On Linux to compare:

  1. echo á | grep '[[=a=]]'
    á
  2. echo ô | grep '[[=o=]]'
    ô #

See the IEEE Std:

«9.3.5 RE Bracket Expression
...It consists of one or more expressions: collating elements, collating symbols, equivalence classes...»

http://pubs.opengroup.org/onlinepubs/009696899/basedefs/xbd_chap09.html

History

#1

Updated by Aurélien Larcher over 3 years ago

  • Subject changed from equivalence classes do NOT work at all to Equivalence classes do NOT work at all
#2

Updated by Aurélien Larcher over 3 years ago

Hello,
Do you know if this only occurs with OI or with other illumos-based distributions ?
Kind regards

#3

Updated by Aurélien Larcher over 3 years ago

Some documentation at GNU grep mentioned that the support was initially for glibc-based systems only.
Please check upstream if this is a bug specific to OI or a known limitation of GNU grep.

Also available in: Atom PDF