On 02/03/2015 16:22, Philippe Teuwen wrote:
> It appears that I was wrong, it's not related to the version of sed but
> to the terminal configuration:
> 
> echo '=abcABC[]\\_='|LANG=en_US.utf8 sed 's/[A-z]/*/g'
>  sed: -e expression #1, char 11: Invalid range end
> 
> echo '=abcABC[]\\_='|LANG=C sed 's/[A-z]/*/g'
> =***********=
> 
> The order of chars in utf8 regexp is still a mystery to me (different
> than e.g. utf8 "sort") but it's probably not a bug, just a big pitfall.

It's indeed listed under the Non-Bugs in the sed manual.  The wart is in
glibc, not in sed.

Paolo


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to