I ended up trying with process substitution so no tmp file.
It works. Trying to decide if it’s more difficult to read