On Sat, Feb 11, 2006 at 05:58:50PM +0100, Torsten Scheck wrote:
> Package: bash
> Version: 2.05b-26
> Severity: normal
> 
> *** Please type your report below this line ***
> 
> Bash's builtin read drops the character '\177' (0x7f).
> 
> $ printf "x\177x" >bash177test
> $ read lin <bash177test
> $ echo "$lin"
> xx
> $ rm bash177test
Actually it doesn't:
[EMAIL PROTECTED]:~$ read lin < <(printf "x\177x")
[EMAIL PROTECTED]:~$ echo "$lin"
xx
[EMAIL PROTECTED]:~$ echo "$lin" |hexdump 
0000000 7f78 0a78                              

(Note the byteswap).


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to