From: Chris Koeritz Date: Thu, 10 Jan 2013 19:56:21 +0000 (-0500) Subject: fixed for names with spaces in them. X-Git-Tag: 2.140.90~1150 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=1440fb4390cbd3d081a4165a1c3e1185a7b455bf;p=feisty_meow.git fixed for names with spaces in them. --- 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"