Skip to content
Prev 205226 / 398506 Next

F77_CALL, F77_NAME definition

On 03/01/2010 9:43 AM, Barry Rowlingson wrote:
I think it's better to use a reasonable text editor here; I used 
Textpad.  I don't think there's anything too special about it, but it 
does have "Search | Find in files", and I can list the file pattern 
(obviously *.h for a macro definition), and the folder (R-devel/src on 
my system), and then I only get six hits:  two definitions and 4 uses. 
That's a lot better than 3 screenfuls.

You can also use the Windows search facility to find the file, but I 
find it clunky, and rarely use it.  It does also make it easy to limit 
the searches in the same way as the above, but it won't show the results 
as nicely.

I'm sure you can do the same thing with grep, but I can never remember 
the syntax to say to search only in *.h files, whereas with the GUI 
searches it's easy.

Duncan Murdoch