From: nobu.nokada@... Date: 2003-09-08T12:53:07+09:00 Subject: Re: Read files at the byte level - how to? Hi, At Mon, 8 Sep 2003 12:47:01 +0900, RLMuller wrote: > I want to use Ruby to compare two Zip files to test whether > they are identical. Accordingly, I want to read at the byte > level, but I only see methods to read strings, i.e. gets, > readline and readlines. require 'fileutils' FileUtils.cmp(file_a, file_b) Or require 'ftools' File.cmp(file_a, file_b) -- Nobu Nakada