Am 11.11.2015 um 05:16 schrieb Ulrich Mueller: >>>>>> On Tue, 10 Nov 2015, Mike Frysinger wrote: > >> Arfrever highlights these are not even safe to use. bash is locale aware, >> so it'll apply LC_COLLATE rules when processing the ^/, casemods. while >> you can fix this with external programs ala: >> LC_COLLATE=C tr ... > >> you can't do it with inline code like: >> LC_COLLATE=C SRC_URI=".../${PN^^}/..." > >>>>>> On Tue, 10 Nov 2015, Mike Frysinger wrote: > >> sorry, i meant char classification here (LC_CTYPE), not collation. > > Shouldn't these be safe to use if the string consists purely of ASCII > characters? I mean, A-Z and a-z should be uppercase and lowercase, > respectively, in any locale?
Unfortunately, no (have been bitten by this issue already some years ago): $ echo $LC_ALL tr_TR $ f=i; echo ${f^^} İ $ f=I; echo ${f,} ı - René