Björn Tantau@swg-empire.de to linuxmemes@lemmy.world · 6 months agoSeriously, WTF is up with that?message-squaremessage-square17fedilinkarrow-up119arrow-down10
arrow-up119arrow-down1message-squareSeriously, WTF is up with that?Björn Tantau@swg-empire.de to linuxmemes@lemmy.world · 6 months agomessage-square17fedilink
minus-squarejaybone@lemmy.worldlinkfedilinkarrow-up0·6 months agoGrep. Couldn’t live without find exec grep.
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkarrow-up0·6 months agoYou rarely need find with grep if you man grep. Grep does it all.
minus-squarejaybone@lemmy.worldlinkfedilinkarrow-up0·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-up2·6 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