Exactly. It's a very nice trick when you have a program that expects to read from a file, and has no facilities for reading from STDIN. A common example is diff:
diff <(grep foo file1 | sort -u) \ <(grep foo file2 | sort -u)
Of course, we have rapidly veered off topic for the Monastery, so I digress. :-)
In reply to Re^4: passing pipes on the command line
by Mugatu
in thread passing pipes on the command line
by iradik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |