Chargen patch

hinko.kocevar at cetrtapot.si hinko.kocevar at cetrtapot.si
Tue Nov 7 09:09:36 UTC 2006


Rich Felker wrote:
> On Mon, Nov 06, 2006 at 02:40:02PM +0100, hinko.kocevar at cetrtapot.si wrote:
>> Hello,
>>
>> I've been looking for a utility like this for some time and I finally 
>> decided to code the solution by myself.
>> I've needed a way to generate files with same contents (eg. 16k file 
>> with 0xFF).
> 
> head dd bs=16384 count=1 < /dev/zero | tr '\0' '\377'
> 

YES.

I like this one... Its fast even on my embedded system and does what I 
needed!

Thanks,
hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenija
Tel. +386 (0) 4 280 66 37
E-mail: hinko.kocevar at cetrtapot.si
Http: www.cetrtapot.si




More information about the busybox mailing list