I have read this Q&A, but it seems to always think the parameter as file.
I want to transform the command diff <(ls old) <(ls new) from this link to one function which receive two arguments, although it is somewhat redundant.
I tried this which is just arg replace:
d2c(){
diff <($1) <($2)
}
then run d2c "objdump -d foo1" "objdump -d foo2" show d2c:1: no such file or directory: objdump -d foo1
with fifo , above problem still be there.
Q: How can I pass arg like '"objdump -d foo1"', then let it run as command?