DEV Community

Discussion on: The history behind "grep"'s name

Collapse
 
val_baca profile image
Valentin Baca

g matches all lines ("global")

In general, to see all lines matching the regular expression “re”, use g/re/p.

robots.thoughtbot.com/how-grep-got...

Collapse
 
michaeltharrington profile image
Michael Tharrington

Appreciate ya clearing that up for me. :-)