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) over 2 years ago. Updated over 2 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) over 2 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) over 2 years ago

Okay, thank you, I reported it there

Actions

Also available in: Atom PDF

Like0
Like0Like0