bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash and Unicode


From: Jakub Jankiewicz
Subject: Re: Bash and Unicode
Date: Fri, 21 Sep 2012 14:33:07 +0200


On Fri, 21 Sep 2012 11:46:26 +0200
Andreas Schwab <schwab@linux-m68k.org> wrote:

> Did you read <http://www.python.org/peps/pep-0263.html>?
> 
> Andreas.
> 

I forget about it, this work:

python -c '# coding: utf-8
print ord(u"ó")'

Probably interactive python have enabled it by default. I try to test
sed if I can swap one character and it's not by a chance handled as 2
characters

echo -n ó | sed -e 's/[ó]\{1\}/_/'

and it's not. The output is one "_"

So thanks with your help and sorry for trouble.

--
Jakub Jankiewicz, Web Developer
http://jcubic.pl

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]