I am using find and getting a list of files I want to grep through. How do I pipe that list to grep?
|
|
|
Well, the generic case that works with any command that writes to stdout is to use
Or to embed the command in your
Note that these commands don't work if the file names contain whitespace, or certain other “weird characters” ( However, in the specific case of
Everything between
|
||||
|
Some versions of If your implementation doesn't have the
|
||||
|
|