[Bug 219900] tr class and unicode collation

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 5 17:11:17 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219900

Lars Engels <lme at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lme at FreeBSD.org

--- Comment #1 from Lars Engels <lme at FreeBSD.org> ---
A similar issue with grep and awk:

> grep '^[A-Z]' foo
foo
Bar
BAZ


Same for egrep, grep -E and awk, using sed(1) works as expected.

> grep -V
grep (GNU grep) 2.5.1-FreeBSD

> locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=en_US.UTF-8


With LANG=C all three tools work as expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list