For redirect, use the above. For append, there’s this:
open(io -> run(pipeline(`cat $a`, stdout=io)), b, "a")
But perhaps you can do better?
For redirect, use the above. For append, there’s this:
open(io -> run(pipeline(`cat $a`, stdout=io)), b, "a")
But perhaps you can do better?