[Chapel Merge] Create standalone versions of the readline() routi

Branch: refs/heads/main
Revision: b1287c9
Author: bradcray
Link: Create standalone versions of the readline() routines by bradcray · Pull Request #19213 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19213 from bradcray/standalone-readline

Create standalone versions of the readline() routines

[reviewed by @mppf]

This adds support for a standalone readline() routine that acts the
same as stdin.readline(), to make it as easy to use with stdin as
read(), readf(), and readln() are (not to mention write() and
writeln()).

Resolves #19229.

Modified Files:
M modules/standard/IO.chpl

M test/studies/adventOfCode/2021/bradc/day10.chpl
M test/studies/adventOfCode/2021/bradc/day10a.chpl
M test/studies/adventOfCode/2021/bradc/day11.chpl
M test/studies/adventOfCode/2021/bradc/day11a.chpl
M test/studies/adventOfCode/2021/bradc/day12.chpl
M test/studies/adventOfCode/2021/bradc/day12a.chpl
M test/studies/adventOfCode/2021/bradc/day13.chpl
M test/studies/adventOfCode/2021/bradc/day14.chpl
M test/studies/adventOfCode/2021/bradc/day14a.chpl
M test/studies/adventOfCode/2021/bradc/day15.chpl
M test/studies/adventOfCode/2021/bradc/day15a.chpl
M test/studies/adventOfCode/2021/bradc/day16.chpl
M test/studies/adventOfCode/2021/bradc/day16a.chpl
M test/studies/adventOfCode/2021/bradc/day18.chpl
M test/studies/adventOfCode/2021/bradc/day18a.chpl
M test/studies/adventOfCode/2021/bradc/day19.chpl
M test/studies/adventOfCode/2021/bradc/day19a.chpl
M test/studies/adventOfCode/2021/bradc/day20.chpl
M test/studies/adventOfCode/2021/bradc/day22.chpl
M test/studies/adventOfCode/2021/bradc/day22a.chpl
M test/studies/adventOfCode/2021/bradc/day25.chpl
M test/studies/adventOfCode/2021/bradc/day8.chpl
M test/studies/adventOfCode/2021/bradc/day8a.chpl
M test/studies/adventOfCode/2021/bradc/day9.chpl
M test/studies/adventOfCode/2021/bradc/day9a.chpl

Compare: https://github.com/chapel-lang/chapel/compare/5630f4c60d92...b1287c975dcf