Skip to content

Commit 0957d83

Browse files
FIX: do not use quotes on term
1 parent 2c8b733 commit 0957d83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

find_occurences.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ search_term(){
4747
term=$@
4848
echo "--- Searching for $term ---"
4949

50-
result=$(find $location -type f -print0 | xargs -0 grep -i -l "\"$term\"")
50+
result=$(find $location -type f -print0 | xargs -0 grep -i -l "$term")
5151

5252
if [ ! -z "$result" ]
5353
then

0 commit comments

Comments
 (0)