bug-bash
[Top][All Lists]
Advanced

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

{# - strange behavior


From: Antonio Macchi
Subject: {# - strange behavior
Date: Fri, 20 Feb 2009 17:39:49 +0100
User-agent: Thunderbird 2.0.0.12 (X11/20080213)


$ a=$'\xd9\xbf'

$ echo ${#a}
1

$ a2=${a:0:1}

$ echo ${#a2}
1




this two characters are "j" and "k" graphical characters in linux terminal/console

I need to extract only one... but apparently I can't.





reply via email to

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