From: Austin Ziegler Date: 2005-08-06T00:31:32+09:00 Subject: Re: Newbie - Help with using puts to binary file On 8/5/05, Austin Ziegler wrote: > #puts will add an LF if it isn't present at the end of the output. > #print will not and #write will not. When I'm writing binary data, I > tend to use IO#write. By the way, it won't affect Unix or OS X, but please remember to open your output files as: file = File.open(output, "wb") This will make sure that binary files are properly handled in Windows. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca