Tuesday, 16 July 2019

bash - Use diff to find difference in the output of two grep command

Is it possible to diff the output of two grep commands?


I am currently searching for files, using different exclude patterns, and the output it pretty long, so i wanted to see if my new pattern worked, or the output is still the same..


Is it possible to somehow pipe two grep command into a diff or something like that?


grep --exclude=*{.dll, pdb} --ril "dql"
grep --ril "dql"

No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...