this post was submitted on 14 Dec 2024
405 points (97.2% liked)
Comic Strips
12929 readers
3447 users here now
Comic Strips is a community for those who love comic stories.
The rules are simple:
- The post can be a single image, an image gallery, or a link to a specific comic hosted on another site (the author's website, for instance).
- The comic must be a complete story.
- If it is an external link, it must be to a specific story, not to the root of the site.
- You may post comics from others or your own.
- If you are posting a comic of your own, a maximum of one per week is allowed (I know, your comics are great, but this rule helps avoid spam).
- The comic can be in any language, but if it's not in English, OP must include an English translation in the post's 'body' field (note: you don't need to select a specific language when posting a comic).
- Politeness.
- Adult content is not allowed. This community aims to be fun for people of all ages.
Web of links
- [email protected]: "I use Arch btw"
- [email protected]: memes (you don't say!)
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
grep -irl "some text that the file would have"
(Obiously only work for text files, but that's enough to cover 90% of cases for me)
Now we need a /c/grep_irl
That's a solid windows shame.
Fun fact: I use "git bash shell" over windows' cmd just because of grep
I don't know what those flags mean, but from context I think this is a command I've needed a bunch of times but haven't had the time or energy to learn about yet. So thanks! I can't wait to try it!
i
nsensitiver
recursivel
enamesI also like to use:
I
(capital i) to skip binary files, if I'm in a folder with heavy images/videos/etcc 3
to show 3 lines around the matched textThis'll help:
https://explainshell.com/explain?cmd=grep+-irl+%22some+text%22