Hi,

> From: "Clark Jefcoat" <cjefcoat / starpower.net>
> Sent: Friday, October 03, 2003 11:28 AM

> I found a perl script to do the CSV to tab conversion,
> but just wanted to put a ruby version online (even if it is
> only 3 lines long).  To run the script I used ruby 1.8 which
> includes the csv library.

ruby -rcsv -e '
CSV.generate("foo.tsv", ?\t) do |f|
  CSV.parse("foo.csv", ?,) do |row|    # ?, is just for symmetry.
    f.add_row(row)
  end
end
'

should work.

Regards,
// NaHi