• fmstratA
    link
    31 month ago

    You rarely need find with grep if you man grep. Grep does it all.

    • @jaybone@lemmy.world
      link
      fedilink
      01 month ago

      Grep is going to find all .java files in /home/user/workspace? And then conditionally search them? Not so sure about that.

      • fmstratA
        link
        91 month ago

        grep -R --include=\*.java "pattern" /home/user/workspace