this post was submitted on 10 Dec 2023
1367 points (98.2% liked)

linuxmemes

20880 readers
5 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 11 months ago (2 children)

I don't think I've ever used grep outside of a CLI.

[–] [email protected] 6 points 11 months ago (1 children)

Surely you've used something roughly equivalent like searching a text, be it web page or other document, for a word or filtering a spreadsheet?

[–] [email protected] 0 points 11 months ago (1 children)

How would one use grep for a webpage in a browser? Does the page need to be accessed outside the browser?

[–] [email protected] 3 points 11 months ago

You should be able to use curl to get the HTML and then pipe it to grep.

[–] [email protected] 3 points 11 months ago

Emacs grep lets you run grep, and formats the results in a buffer from where you can then easily visit the files at the match location.