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.
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 togrin 'foo\('
all the time.