Bash — How to give a file to a command without making a file

Thu Apr 14 2022 00:00:00 GMT+0000 (Coordinated Universal Time)

You can use heretext. The syntax seems to be:

commmand <<< $"file contents"

Tested by me. Or use single quotes. See: https://stackoverflow.com/questions/5852643/piping-in-on-the-command-line-simulating-a-file