I have some arbitrary data as an output of a command (e.g. a fragment of a binary data put out using tail). I want to feed it to another command/program which allows only a file as an argument (e.g. rawtopng [filein] [fileout]), does not support dash (-) argument, and I cannot make a temporary file in between. How can I do it in bash?Will something like rawtopng <(tail myfile) fileout work?
How to pipe data from one command to another command which allows only a file as an argument?
bash;shell script;pipe;stdin