Write file with binary mode on linux

Hello,

I wanna write files on Linux platform but with binary mode.
On windows we use “wb” but on Linux what do we have to do?

Thanks.

On 1 Apr 2008, at 18:33, Mohamed S. wrote:

Hello,

I wanna write files on Linux platform but with binary mode.
On windows we use “wb” but on Linux what do we have to do?

This a pure ruby question, but iirc these days the binary flag does
nothing on linux: there is no binary/text mode distinction
Fred