You made a different point just then too… man grep won’t tell you when you should be using sed or egrep… although the manpage does reference them at the end.
Comment on Has google stopped working for finding anything?
Blue_Morpho@lemmy.world 11 months agoA list of what the command line switches do is completely different from how to use them to solve a problem.
There are entire books written about regex.
adespoton@lemmy.ca 11 months ago
psud@lemmy.world 11 months ago
You can also search ‘grep examples’
Blue_Morpho@lemmy.world 11 months ago
Yeah, I was only making fun of the poster who derided googling grep by saying “use man”.
Grep is so expansive that saying “use man” to learn grep is not much more help than saying use “man gcc” to learn how to write a c program.