Björn@swg-empire.de to linuxmemes@lemmy.world · 2 years agoSeriously, WTF is up with that?swg-empire.deimagemessage-square29fedilinkarrow-up1311arrow-down114
arrow-up1297arrow-down1imageSeriously, WTF is up with that?swg-empire.deBjörn@swg-empire.de to linuxmemes@lemmy.world · 2 years agomessage-square29fedilink
minus-squarejaybone@lemmy.worldlinkfedilinkarrow-up3·2 years agoGrep. Couldn’t live without find exec grep.
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkarrow-up3·2 years agoYou rarely need find with grep if you man grep. Grep does it all.
minus-squarejaybone@lemmy.worldlinkfedilinkarrow-up1arrow-down1·2 years 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·2 years agogrep -R --include=\*.java "pattern" /home/user/workspace
Grep. Couldn’t live without find exec grep.
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