Re: Slightly OT: How to grep for two different things in a file
Date: Thu, 08 Sep 2022 06:33:50 UTC
On Thu, 8 Sep 2022 00:56:09 +0200 Andreas Kusalananda Kähäri <andreas.kahari@abc.se> wrote: > find src/java -type f \ > -exec grep -qF 'tid' {} \; \ > -exec grep -qF '/tmp' {} \; \ > -print This is the best solution. -- Steve O'Hara-Smith <steve@sohara.org>