It's really important because intuitively they are all similar for me.
Could one realise that those two are really like one another for me, i.e. absolutely equal?
|
It's really important because intuitively they are all similar for me. Could one realise that those two are really like one another for me, i.e. absolutely equal? |
||||
|
They don't do the same thing at all. The former is command substitution, the latter is piping. The result is completely different.
|
|||||||||||
|
grep SMTH <(CMD)instead ofgrep SMTH $(CMD)? cause first one is really close toCMD | grep SMTH. – rush Nov 20 '12 at 20:32xi@localhost ~ $ grep SRC_URI $(find /usr/portage -name *.ebuild) | wc -l 25921 xi@localhost ~ $ cat $(find /usr/portage -name *.ebuild) | grep SRC_URI | wc -l 25921- no difference, except for inclusion of filename with directgrep– Xsi Nov 23 '12 at 12:16