projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c617200
)
added a -- to close off flags, allowing patterns like '--pattern' to be sought.
author
Chris Koeritz
<fred@gruntose.com>
Tue, 20 May 2014 19:42:54 +0000
(15:42 -0400)
committer
Chris Koeritz
<fred@gruntose.com>
Tue, 20 May 2014 19:42:54 +0000
(15:42 -0400)
scripts/text/search_text.sh
patch
|
blob
|
history
diff --git
a/scripts/text/search_text.sh
b/scripts/text/search_text.sh
index e88c58d8867fe648bb0508312be5ddf667168d78..eb00a89444b459c01297ff374bd7f9a6efbe5f87 100644
(file)
--- a/
scripts/text/search_text.sh
+++ b/
scripts/text/search_text.sh
@@
-44,6
+44,6
@@
find "$dir" -type f \( -iname "*" \
! -iname "*.tar" \
! -iname "*.tmp" \
! -iname "*.zip" \) \
- -exec echo "\"{}\"" ';' | xargs grep -li "$seek" | grep -v "^\.[^\/]\|\/\."
+ -exec echo "\"{}\"" ';' | xargs grep -li
--
"$seek" | grep -v "^\.[^\/]\|\/\."