bug-bash
[Top][All Lists]
Advanced

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

Re: echo -e \\c or any other non-newline fails for zh_TW.Big5 bash


From: Dan Jacobson
Subject: Re: echo -e \\c or any other non-newline fails for zh_TW.Big5 bash
Date: Sun, 23 Feb 2003 08:25:51 +0800
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

dear bash bug, alex below seems to also confirm my problem

--- Begin Message --- Subject: Re: echo -e \\c or any other non-newline fails for zh_TW.Big5 bash Date: Sat, 22 Feb 2003 01:20:11 -0600 (CST)
On Sat, 22 Feb 2003, Dan Jacobson wrote:

> please paste a=zh_TW.Big5;LC_CTYPE=$a;echo -e saw $a\\c
> into a xcinterm, xterm etc window and hit return.
> 
> z@debian:~$ a=zh_TW.Big5;LC_CTYPE=$a;echo -e saw $a\\c
> z@debian:~$ g5

I'm not sure it is an error / bug \\c cut the end char 
and the shell redraw over the your line 
with out the \\c you should able to get the same result
saw zh_TW.Big5 (instead of ) 
z@debian:~$ g5

> 
> look at that, a "g5" is left on the command line. a carriage return
> has covered up the rest.
> 
> now try
> z@debian:~$ a=C;LC_CTYPE=$a;echo -e saw $a\\c
> saw Cz@debian:~$ 
> 

I'm not sure this the correct result, since there is no 100% sure 
the shell will not draw over the char everytime. I try a loop with 
both case... they randomly show and not show 

> so C gives correct results. Anyway, I submitted a bash bug but they
> think i am crazy so dont answer. please submit a bug for me.
> 
> p.s. i dont subscribe to gmane.linux.debian.user.chinese.big5 due do
> spam, so CC me.
> 


--- End Message ---

-- 
http://jidanni.org/ Taiwan(04)25854780

reply via email to

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