matthew-brett / grin

A grep program configured the way I like it.
Other
9 stars 2 forks source link

Feature/fixed string #2

Open ccazabon opened 3 years ago

ccazabon commented 3 years ago

Similar to GNU's grep -F, this adds the -F/--fixed-string option, which saves you having to manually escape regex metachars when you just want to search for a plain string.

I find this handy when searching for function definitions or calls, being able to grin 'foo(' instead of having to grin 'foo\(' all the time.