From: Bill Kelly Date: 2006-05-01T08:22:59+09:00 Subject: Re: So I got a binary file... From: "bostonmacosx" > > Sorry for being such a NEWB. I'm a pretty prolific PHP writer however > I'm new to RUBY and want to expand my horizons. > > I have a big-endian binary file and want to convert it to ascii so I see > what's in it. > Is there an easy way to accomplish this? Not sure what you mean. Do you want an ASCII hex dump of the file? (like `od -x`) Or just strip the binary characters, and print any ASCII sequences found (like `strings`) ? Regards, Bill