Skip to content

Parsing CSV files from ARGF stopped working correctly starting from Ruby 2.5 #228

@Fravadona

Description

@Fravadona

Hi everyone,

I noticed that, starting from Ruby 2.5, parsing multiple CSV files from ARGF stops after reading the 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions