I have two lists I produce using the following commands:
find . -type f -name config.php -exec ls {} \;find . -type f -name config.php -exec grep --files-with-matches some_string {} \; | sort
How could I pipe the lists into com -23 so I can see those entries from list1 that aren't contained in list2?
-exec ls {} \;? I expect-print(or nothing at all) to generate basically the same output. (2) How aboutgrep --files-without-matchin the first place? Piping tocommmay be unnecessary (compare XY problem). – Kamil Maciorowski May 22 '19 at 16:14