From: Armin Armbruster Date: 2007-05-24T03:54:11+09:00 Subject: Reading files with comments with FasterCSV --0-1222974494-1179946044=:31045 Content-Type: text/plain; charset=ascii Hi, I'm trying to read csv files using FasterCSV. I have two problems: 1. Some of my files have a few lines of comments before the actual header. Is there a way to read the whole file at once, for example with csv = FasterCSV.read("filename", opt) and have the comment lines ignored (either by telling FasterCSV to ignore the first n lines or giving FasterCSV a string or regular expression to match the beginning of the header). 2. Some of my files have no header, but I still would like to read them as a FasterCSV::Table, rather than an Array of Arrays for ease of column access and auto-conversion. How can I do that and is there a way to add a header? Thanks, Armin --0-1222974494-1179946044=:31045--