Antonio Macchi wrote:
> $ a=( $'\x7e' $'\x7f' $'\x80' )
> 
> $ hexdump -C <(echo -n [EMAIL PROTECTED] )
> 00000000  7e 20 01 7f 20 80                                 |~ .. .|
> 00000006
> 
> 
> bash puts two characters (\x01 and \x7f) instead of only one \x7f

Yes, it's a bug.  Thanks for the report.  It will be fixed in the next
version of bash.  It's only a problem in these exact circumstances --
ansi-c quoted strings in a compound array assignment.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


Reply via email to