Developer essentials: How to search code using grep | MDN Blog

https://developer.mozilla.org/en-US/blog/searching-code-with-grep/

13 points · 5 comments · view on lemmy.world

5 Comments

MirranCrusader@programming.dev · 3 pts · 3y (3 replies)

Thanks for the article. This will be a good to save as a PDF for future reference

3hax6ejo@lemm.ee · 2 pts · 3y (2 replies)

Great to hear. In my day-to-day job I use grep all the time against of directory of 50k plus text files. It's a great tool to learn and utilize.

MirranCrusader@programming.dev · 2 pts · 3y (1 reply)

I’m mostly a Linux casual who ended up working in not computers so it’s knowledge that’s useful for a month out of a year and hard to retain 😅 This article is what I wish the man page examples were

3hax6ejo@lemm.ee · 1 pts · 3y

I get you, I have to look up the same stuff all the time because I don't use it often enough. A good alternative to man pages I found is tldr. There's a web app if you don't want to install it either: https://tldr.inbrowser.app/

dinodroid@programming.dev · 3 pts · 3y

These days I prefer rg (ripgrep) instead. However, i love to grep on servers.