On Sat, Jan 23, 2021 at 12:47:58AM +0700, pepa65 wrote: > It is otherwise very hard to get command output into a variable without > a subshell.
It's not hard at all. 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.