[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bash-bug
Subject:    tables - $'\x7f' does not loaded properly
From:       Antonio Macchi <antonio_macchi () alice ! it>
Date:       2008-10-18 8:33:32
Message-ID: 48F99F5C.9030909 () alice ! it
[Download RAW message or body]

$ 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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic