mirror of
https://github.com/wekan/wekan.git
synced 2026-01-05 17:18:49 +01:00
Fix find.sh work with spaces, for example: ./find.sh "Some text"
Thanks to xet7 !
This commit is contained in:
parent
0b0e16c3ea
commit
db4b04d837
1 changed files with 1 additions and 1 deletions
2
find.sh
2
find.sh
|
|
@ -15,4 +15,4 @@ fi
|
|||
|
||||
#find . | grep -v node_modules | grep -v .build | grep -v .meteor | grep -v .git | xargs grep --no-messages $1 | less
|
||||
#find . -print0 | grep -v node_modules | grep -v .build | grep -v .meteor | grep -v .git | xargs -0 grep --no-messages $1 | less
|
||||
find . | grep -v node_modules | grep -v .build | grep -v .meteor | grep -v .git | xargs grep -I --no-messages $1 | less
|
||||
find . -type f -not -path '*/node_modules/*' -not -path '*/.build/*' -not -path '*/.meteor/*' -not -path '*/.git/*' -exec grep -I --no-messages "$1" {} + | less
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue