From 1440fb4390cbd3d081a4165a1c3e1185a7b455bf Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Thu, 10 Jan 2013 14:56:21 -0500 Subject: [PATCH] fixed for names with spaces in them. --- scripts/buildor/find_in_code.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/buildor/find_in_code.sh b/scripts/buildor/find_in_code.sh index 65ffc77c..b1d593ac 100644 --- a/scripts/buildor/find_in_code.sh +++ b/scripts/buildor/find_in_code.sh @@ -1,4 +1,4 @@ #!/bin/bash seek="$1"; shift -find . -type f | grep -v '.svn' | grep -v '.git' | grep -v '.exe' | xargs grep -li "$seek" +find . -type f -exec echo "\"{}\"" ';' | grep -v '.svn' | grep -v '.git' | grep -v '.exe' | xargs grep -li "$seek" -- 2.34.1