bug-bash
[Top][All Lists]
Advanced

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

Right behavior of -x option?


From: Roman Rakus
Subject: Right behavior of -x option?
Date: Thu, 22 May 2008 16:59:44 +0200
User-agent: Thunderbird 2.0.0.14 (X11/20080501)

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

Attachment: rrakus.vcf
Description: Vcard


reply via email to

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