Skip to content

Instantly share code, notes, and snippets.

@volh
Created February 28, 2009 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save volh/71966 to your computer and use it in GitHub Desktop.
Save volh/71966 to your computer and use it in GitHub Desktop.
just testing gist
require 'csv'
CSV.open("file3.csv",'w') do |csv|
(CSV.read("file2.csv") - CSV.read("file1.csv")).each { |row| csv << row }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment