From 57d79630adf8b37572bd55cc9a4bd65cd65c98a1 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 18 Jan 2014 02:22:38 +0400 Subject: [PATCH] Minor refactoring --- bin/find_home_grep.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/find_home_grep.sh b/bin/find_home_grep.sh index dc9e108..b15636c 100755 --- a/bin/find_home_grep.sh +++ b/bin/find_home_grep.sh @@ -1,4 +1,4 @@ #! /bin/sh -cd "$HOME" && -exec cgmem_nice 100 find . \( -type d \( -name CVS -o -name .svn -o -name .hg -o -name .git -o -path ./.cache/chromium/\* -o -path ./.cache/mozilla/\* -o -path ./Internet/WWW/htdocs/doc/\* -o -path ./archive/STORE/\* -o -path ./current/Bregis/nobackup/\* -o -path ./media/\* -o -path ./mnt/\*\* \) -prune \) -o -type f -exec grep -I "$@" '{}' \+ 2>/dev/null +cd "$HOME" && exec cgmem_nice 100 \ +find . \( -type d \( -name CVS -o -name .svn -o -name .git -o -name .hg -o -path ./.cache/chromium/\* -o -path ./.cache/mozilla/\* -o -path ./Internet/WWW/htdocs/doc/\* -o -path ./archive/STORE/\* -o -path ./current/Bregis/nobackup/\* -o -path ./media/\* -o -path ./mnt/\*\* \) -prune \) -o -type f -exec grep -I "$@" '{}' \+ 2>/dev/null -- 2.39.5