projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b0dc92
)
Use -H on darwin as well.
author
Eric Christopher
<echristo@apple.com>
Thu, 26 Jan 2012 22:06:23 +0000
(22:06 +0000)
committer
Eric Christopher
<echristo@apple.com>
Thu, 26 Jan 2012 22:06:23 +0000
(22:06 +0000)
Patch by Liang Wang!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149085
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/llvmgrep
patch
|
blob
|
history
diff --git
a/utils/llvmgrep
b/utils/llvmgrep
index 540f0598579dc2fa39476a0ded87cbd725540435..dc15da4961efcad5cd8c668056af99f1c7099ccd 100755
(executable)
--- a/
utils/llvmgrep
+++ b/
utils/llvmgrep
@@
-29,7
+29,7
@@
if test -d "$TOPDIR" ; then
cd $TOPDIR
case `uname -s` in
SunOS) grep_cmd="ggrep -H -n" ;;
- Linux) grep_cmd="egrep -H -n" ;;
+ Linux
|Darwin
) grep_cmd="egrep -H -n" ;;
*) grep_cmd="egrep -l -n" ;;
esac
./utils/llvmdo -topdir "$TOPDIR" \