Project

General

Profile

Actions

Bug #18378

closed

Parsing CSV files from ARGF not working correctly anymore (it stopped working starting from Ruby 2.5)

Added by Fravadona (Frava Dona) almost 3 years ago. Updated almost 3 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
2.5 to current
[ruby-core:106374]

Description

Hi everyone,

I noticed that, starting from Ruby 2.5, parsing multiple CSV files from ARGF stops after reading first input.

For example, the simple one-liner:

ruby -r csv -e 'CSV.new(ARGF).each{|row| p row}' file1.csv file2.csv

Only processes the content of file1.csv

Updated by kou (Kouhei Sutou) almost 3 years ago

  • Status changed from Open to Third Party's Issue

Could you report this to https://github.com/ruby/csv ?

Updated by Fravadona (Frava Dona) almost 3 years ago

Okay, thank you, I reported it there

Actions

Also available in: Atom PDF

Like0
Like0Like0