From: Yaj Bhattacharya Date: 2009-03-14T02:07:51+09:00 Subject: reading data files with headers and columns Hello, As a noob to Ruby, I need to read a data file with the first few lines as header, then the rest of the file as columns of different variables as arrays (in this case, 5 columns). After reading in the variables, I want to calculate some operations with each unique data field address (e.g. column3, row4), then write out the file with headers and data in columns. Could someone help with a few lines of basic code? Thanks in advance Yaj