$ diff <(echo -e "oranges") <(echo -e "apples") diff: /dev/fd/63: No such file or directory diff: /dev/fd/62: No such file or directory
So it appears to make assumptions about the underlying OS which are not always correct. It's a neat trick, but I'd only use it in shell prompt one-liners, not in scripts that might get used elsewhere.
In reply to Re: redirect output from a command to another command
by DrHyde
in thread redirect output from a command to another command
by Allasso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |