I have a command command that takes an input file as argument. Is there a way to call command without actually creating a file?
I would like to achieve the following behavior
$ echo "content" > tempfile
$ command tempfile
$ rm tempfile
if possible:
- as a one-liner,
- without creating a file,
- using either a bash (or sh) feature or a "well-known" command (as standard as
xargs)
It feels like there must be an easy way to do it but I can't find it.