On 1/31/16 4:41 PM, Yuri wrote:
> I have this line in ~/.bashrc:
> PS1=$'\\[\e[0;38;5;202m\\]\u2514\u2023\\[\e[0m\\] '
>
> My command prompt looks like this:
> root2514root2023
>
> What makes bash print unicode charater ascii values?
In this case, probably that iconv fails to convert that value
On 1/31/16 7:26 PM, Michael Diamond wrote:
> Bash Version: 4.3
> Patch Level: 39
> Release Status: release
>
> Description:
> I'm told $((( $exit_code == 0 )) && echo GREEN || echo RED) should fail
> to parse, because $(( should be the first token, not $(.
The way I read Posix, the bash behavior
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: cygwin
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='x86_64-unknown-cygwin'
-DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/share/locale' -DPA
I have this line in ~/.bashrc:
PS1=$'\\[\e[0;38;5;202m\\]\u2514\u2023\\[\e[0m\\] '
My command prompt looks like this:
root2514root2023
What makes bash print unicode charater ascii values?
bash-4.3.42
FreeBSD-10.3
LANG=en_US.UTF-8
terminal is konsole from kde4
Yuri