I want to view the source code of R\'s match.call function. As it is an internal function, I downloaded the R source code, went to ./src/main/names.c and looked
Don't download a utility for a one time file content search. You can use findstr. It isn't suitable for a full file system search, but I think it's perfect for what you are trying to do.
cmd
cd C:\Users\jsmith\documents\projects\happy\src\main
findstr do_matchcall
if you want to search sub directories
findstr /s do_matchcall
if only want to know the filename
findstr /m do_matchcall
if you want to send the results to another file
findstr /s /m do__matchcall >searchresult.txt
if you want the line numbers
findstr /n do_matchcall
Findstr also supports regular expressions. To see all the options
findstr /?