On 23/01/2021 00.55, Greg Wooledge wrote: > People just have a deep, almost religious, loathing > against creating their own temp files. > > And yet, these same people are *perfectly* happy if some tool creates > a temp file for them -- as long as they don't have to see any of the > details or do any of the work.
Yes, a temp file on a virtual filesystem in memory would work. I think the idea is to stay in RAM. But to then get it into a variable, you'd have to use mapfile, and then get the array to be in a single variable. There are quite a number of operations here that could be elided by some elegant syntactic sugar to the benefit of all. Peter