On 19/02/17 06:53, PePa wrote: > Not sure which tools in coreutils are multibyte-aware, but tr definitely > isn't, and since it is supposed to support [:lower:] and [:upper:], it > really should be aware. > > I know I can use bash (and I do!), but something like this should just work: > echo σιγμας | tr '[:lower:]' '[:upper:]'
Yes it should work, and there is a plan in place: http://www.pixelbeat.org/docs/coreutils_i18n/ However getting someone with both expertise and time is difficult. Note your use case is supported with GNU sed: $ echo σιγμας | sed -e 's/.*/\U&/' ΣΙΓΜΑΣ thanks, Pádraig.
