Björn Tantau@swg-empire.de to linuxmemes@lemmy.world · 3 months agoSeriously, WTF is up with that?swg-empire.deimagemessage-square24fedilinkarrow-up143arrow-down12
arrow-up141arrow-down1imageSeriously, WTF is up with that?swg-empire.deBjörn Tantau@swg-empire.de to linuxmemes@lemmy.world · 3 months agomessage-square24fedilink
minus-squarejaybone@lemmy.worldlinkfedilinkarrow-up0·3 months agoGrep. Couldn’t live without find exec grep.
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkarrow-up1·3 months agoYou rarely need find with grep if you man grep. Grep does it all.
minus-squarejaybone@lemmy.worldlinkfedilinkarrow-up0arrow-down1·3 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-up7·3 months 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