bug-bash
[Top][All Lists]
Advanced

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

Re: read fails on null-byte: v4.1.7 FreeBSD 8.0 (amd64)


From: Matthew Story
Subject: Re: read fails on null-byte: v4.1.7 FreeBSD 8.0 (amd64)
Date: Wed, 23 Nov 2011 19:14:50 -0500

>> Bash doesn't drop NULs like the
>> FreeBSD (not the Bourne) shell.

one last note on bash dropping NULs:

[bash ~]$ foo=`printf 'foo\0bar'`
[bash ~]$ echo $foo |od -a
0000000    f   o   o   b   a   r  nl                                    
0000007

> 
> FreeBSD sh indeed, apologies for the misstatement.
> 
>> 
>> Chet
>> -- 
>> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>>               ``Ars longa, vita brevis'' - Hippocrates
>> Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/
>> 
> 



reply via email to

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