POV-Ray : Newsgroups : povray.off-topic : Is this the end of the world as we know it? : Re: Is this the end of the world as we know it? Server Time
30 Jul 2024 22:19:03 EDT (-0400)
  Re: Is this the end of the world as we know it?  
From: Jim Henderson
Date: 17 Oct 2011 19:06:10
Message: <4e9cb4e2@news.povray.org>
On Mon, 17 Oct 2011 09:00:25 +0100, Invisible wrote:

>>> The point being, if you want to store some binary data in the middle
>>> of a textual configuration file, you have to base64 encode it or
>>> something (which is less efficient). If you want to stick some binary
>>> data in the registry, you can just store it as binary.
>>
>> No, you don't have to encode it as base64.  It's perfectly legal to
>> create a file with text components and binary components.  Because it's
>> just a file.
> 
> It's perfectly *legal*, but nobody does it because then you wouldn't be
> able to just throw the file through grep or something and expect it to
> work.

I've seen it done.

And in fact, a binary file is perfectly acceptable for grep to parse.  
I've used that often enough myself.

Jim


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.