From: Chris Daves Date: 2007-12-12T07:17:50+09:00 Subject: reading in a file hi, i want to create a ruby program that uses a "database" of reference specifications held in a text file to process a set of other files that cite these references, substituting correct citations in the text and adding a reference section to the text after the last file has been processed. All the output should be sent to the standard output (except errors which should go to standard error). To format the references i need to use HTML tags. Some useful tags : bold italic underline superscript i cant find out how to read in the file. where should i save the text file on the computer? and where will the new file appear? thanks -- Posted via http://www.ruby-forum.com/.