From: Peter Bailey Date: 2006-04-06T23:36:22+09:00 Subject: Basic input/output question Hello, I spent my $40 on "Programming Ruby," but, it seems dedicated to C programmer rocket scientists. I work in publishing and basically I just need to open files, convert the data, and write the files, either to the same file or to another. Can someone please help me to write a simple structure to read a file "text1.txt", do regexes and stuff in it to convert data, and then write the output to "text2.txt." Thank you very much. -- Posted via http://www.ruby-forum.com/.