bug-bash
[Top][All Lists]
Advanced

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

tables - $'\x7f' does not loaded properly


From: Antonio Macchi
Subject: tables - $'\x7f' does not loaded properly
Date: Sat, 18 Oct 2008 10:33:32 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080213)

$ a=( $'\x7e' $'\x7f' $'\x80' )

$ hexdump -C <(echo -n ${a[@]} )
00000000  7e 20 01 7f 20 80                                 |~ .. .|
00000006


bash puts two characters (\x01 and \x7f) instead of only one \x7f


but...



$ a[1]=$'\x7f'

$ hexdump -C <(echo -n ${a[@]} )
00000000  7e 20 7f 20 80                                    |~ . .|
00000005




may be its a bug...
thanks for your job
bye




reply via email to

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