In RH bugzilla we have open bug impeaching right behavior of -x option.
Reporter is using japanese environment and is trying:

bash -x -c "echo \"あいうえお\""

echoing any japanese sentence.

and bash write out:
+ echo $'\343\201\202\343\201\204\343\201\206\343\201\210\343\201\212'
sentence in octal digits.

He is arguing that -x turn on debugmode and wants to see readable japanese 
sentence.

My opinion is that -x isn't debugmode and this is right behavior. I think there 
must be any reason why the echo is called with octal digits, but I really don't 
know why?
Maybe it's something in readline...


bugzilla is awailable at https://bugzilla.redhat.com/show_bug.cgi?id=447836
begin:vcard
fn:Roman Rakus
n:Rakus;Roman
org:Red Hat;BaseOS
adr:;;;Brno;;;Czech Republic
email;internet:[EMAIL PROTECTED]
title:Associate software engineer
tel;cell:+420 774 891 861
x-mozilla-html:FALSE
version:2.1
end:vcard

Reply via email to