Closed Fravadona closed 2 years ago
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
Thanks for your report. I've fixed this.
Thank you. I applied the modification to my target Ruby 2.7 and it works now.
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:
Only processes the content of file1.csv