From: "Fravadona (Rafael NAVAZA)" Date: 2021-12-02T01:05:07+00:00 Subject: [ruby-core:106374] [Ruby master Bug#18378] Parsing CSV files from ARGF not working correctly anymore (it stopped working starting from Ruby 2.5) Issue #18378 has been reported by Fravadona (Rafael NAVAZA). ---------------------------------------- Bug #18378: Parsing CSV files from ARGF not working correctly anymore (it stopped working starting from Ruby 2.5) https://bugs.ruby-lang.org/issues/18378 * Author: Fravadona (Rafael NAVAZA) * Status: Open * Priority: Normal * ruby -v: 2.5 to current * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- 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: ``` shell ruby -r csv -e 'CSV.new(ARGF).each{|row| p row}' file1.csv file2.csv ``` Only processes the content of `file1.csv` -- https://bugs.ruby-lang.org/ Unsubscribe: