I am doing a find and then getting a list of files. How do I pipe it to another utility like cat (so that cat displays the contents of all those fi
find
cat
To achieve this (using bash) I would do as follows:
cat $(find . -name '*.foo')
This is known as the "command substitution" and it strips line feed by default which is really convinient !
more infos here