Björn Tantau@swg-empire.de to linuxmemes@lemmy.world · 6 months agoSeriously, WTF is up with that?swg-empire.deexternal-linkmessage-square29fedilinkarrow-up1310
arrow-up1296external-linkSeriously, WTF is up with that?swg-empire.deBjörn Tantau@swg-empire.de to linuxmemes@lemmy.world · 6 months agomessage-square29fedilink
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkarrow-up3·6 months agoYou rarely need find with grep if you man grep. Grep does it all.
minus-squarejaybone@lemmy.worldlinkfedilinkarrow-up1arrow-down1·6 months agoGrep is going to find all .java files in /home/user/workspace? And then conditionally search them? Not so sure about that.
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkarrow-up9·6 months agogrep -R --include=\*.java "pattern" /home/user/workspace
You rarely need find with grep if you man grep. Grep does it all.
Grep is going to find all .java files in /home/user/workspace? And then conditionally search them? Not so sure about that.
grep -R --include=\*.java "pattern" /home/user/workspace