From: "Fravadona (Frava Dona)" Date: 2021-12-02T08:29:33+00:00 Subject: [ruby-core:106385] [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 updated by Fravadona (Frava Dona). Okay, thank you, I reported it there ---------------------------------------- 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#change-95025 * Author: Fravadona (Frava Dona) * Status: Third Party's Issue * 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: