From: Michael Linfield Date: 2008-06-05T02:31:58+09:00 Subject: Re: Beginner: Read file > I'm quite lost...what I'm trying to do is read a file character by > character > until I've read every character. > > Thanks in advance! Posting 'Beginner:' doesn't merit anything special :) Here is one way of doing it. File.open("myfile") do |file| file.each_byte {|x| puts x} end The value of 'x' will be in ascii, I'll let you figure out how to translate ascii back into text :) - Mac -- Posted via http://www.ruby-forum.com/.