Commit Graph

2 Commits

Author SHA1 Message Date
Reid Spencer 37e0ba969a Fix some thinkos in the script (error handling, proper argument handling).
llvm-svn: 14676
2004-07-07 21:19:01 +00:00
Reid Spencer 0277fd7b44 A utility to search the LLVM source tree for a grep pattern. This is a
replacement for getsrcs.sh which now generates too much text to put on a
Linux command line. The approach taken with llvmgrep is to execute a find
command and execute a grep on each file that matches the name pattern. The
arguments to this script are the same as those of egrep. Note that the -H
and -n options to egrep will always be passed so that you always get the
file and line number of matches.

llvm-svn: 14255
2004-06-19 20:32:55 +00:00