grep - Bugs: bug #18633, regular expressions...
You are not allowed to post comments on this tracker with your current authentication level.
bug #18633: regular expressions case-insensitivity
Submitter: | Rob Hinks <robhinks> | ||
Submitted: | Fri 29 Dec 2006 08:08:23 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | None | Status: | Works For Me |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed |
Sun 31 Dec 2006 11:47:06 AM UTC, comment #5: |
Benno Schulenberg <bens> |
Sat 30 Dec 2006 09:38:38 PM UTC, comment #4: Yes, when I first posted the 'bug' I hadn't realised that it was due to the collation order of en_GB.UTF-8. It is logical for grep to follow the collation order specified in the locale, so I appreciate it is not a bug.
|
Rob Hinks <robhinks> |
Sat 30 Dec 2006 08:28:18 PM UTC, comment #3:
|
Benno Schulenberg <bens> |
Sat 30 Dec 2006 03:25:42 PM UTC, comment #2: Yes, it does seem to be a locale problem. If I type grep '^[a-E]' filename then aAbBcCdDeE are included. When using LC_ALL=C grep '^[a-e]' grep then only abcde are included. My friend who has a different locale has no problems unless he types LC_ALL=en_GB.UTF-8 grep '^[a-e]' filename
|
Rob Hinks <robhinks> |
Sat 30 Dec 2006 02:58:04 PM UTC, comment #1:
|
Benno Schulenberg <bens> |
Fri 29 Dec 2006 08:08:23 PM UTC, original submission:
Hi,
|
Rob Hinks <robhinks> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2008-03-22 | taa | Status | None | Works For Me | |
Open/Closed | Open | Closed | |||
2006-12-29 | robhinks | Carbon-Copy | - | Added -email is unavailable- |
Powered by Savane 3.13-d3ae.
Corresponding source code
For the first two that would be a bug. I don't know about 'awk', but here at least 'sed' uses the specified collation order.
No problem.