Summary: | Sed ranges are broken in non-C locales | ||
---|---|---|---|
Product: | ALT Linux Desktop | Reporter: | Julia Jomantaite <juliette> |
Component: | bugs | Assignee: | Anton V. Boyarshinov <boyarsh> |
Status: | CLOSED WONTFIX | QA Contact: | Andrey Cherepanov <cas> |
Severity: | normal | ||
Priority: | P2 | ||
Version: | 4.0.2 | ||
Hardware: | all | ||
OS: | Linux |
Description
Julia Jomantaite
2008-05-30 18:47:52 MSD
https://bugs.gentoo.org/show_bug.cgi?id=149526#c4 *** This bug has been marked as a duplicate of 13870 *** (In reply to comment #1) > https://bugs.gentoo.org/show_bug.cgi?id=149526#c4 > This problem has been solved in Gentoo (key --without-included-regex is used now). Anyway sorting order should be the same for all utilities. The following results are from the same locale: [altlinux@localhost ~]$ echo abcdABCD | sed -e "s/[a-c]/0/g" 000d00CD [altlinux@localhost ~]$ echo abcdABCD | grep -o "[a-c]" a b c [altlinux@localhost ~]$ echo abcdABCD | tr "[a-c]" 0 000dABCD It can be obtained in both ru_RU.UTF-8 and ru_RU.KOI8-r locales so it's not the UTF8 issue. Поддержка дистрибутива завершена. Используйте новые версии. |