On Jun 5, 2015, at 2:50 PM, j...@via.net wrote:
>
> Well, this is an example straight from the documentation.
>
> I was hoping someone would post an example of using the csv class with
> stdio...
The error message is claiming that the data you're sending is malformed--that's
not (directly) re
On Jun 5, 2015, at 12:12 PM, j...@via.net wrote:
>
> Any thought?
Like the error message says:
Unquoted fields do not allow \r or \n (line 1). (CSV::MalformedCSVError)
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 v
I would like to create a CSV filter, so I want to read from STDIN and write
to STDOUT.
This does not work, even though this is per the the CSV web documentation:
require "rubygems"
require "csv"
require "nokogiri"
CSV($stdin, { :headers => true }){ |csv_in| csv_in.each { |row| p row
3 matches
Mail list logo