In bash, I use arguments that look like
paste <(cat file1 | sort) <(cat file2 | sort)
or
comm <(cat file1 | sort) <(cat file2 | sort)
When I check man comm or man paste, the documentation says the args are indeed FILES.
Question:
Are intermediate temporary files get created (on TEMP filesystem or elsewhere on slower disk) for
<(cat file1 | sort)and<(cat file2 | sort)?What is the name for this
<( )magic? (to lookup its documentation)Is it specific to bash or does it work across other shells?
cat file1 | sortis a Useless Use ofcat, and should be written eithersort file1or<file1 sort. – wchargin May 25 '18 at 07:02echo <(true)Or, even better:ls -l <(true)– Bernd Jendrissek May 25 '18 at 08:43