Browse Source

Fix inigrep query quoting

Absence of quotes breaks queries with spaces.  We're already taking care
of files (implicit or given on command line).
Alois Mahdal 8 years ago
parent
commit
615a4b38d2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/shellfu/saturnin.sh

+ 1
- 1
src/shellfu/saturnin.sh View File

112
     fi
112
     fi
113
     debug -v files
113
     debug -v files
114
     #shellcheck disable=SC2086
114
     #shellcheck disable=SC2086
115
-    _saturnin__conf__load "${files[@]}" | inigrep $ig_limit $ig_mode $ig_query
115
+    _saturnin__conf__load "${files[@]}" | inigrep $ig_limit $ig_mode "$ig_query"
116
     return "${PIPESTATUS[0]}"
116
     return "${PIPESTATUS[0]}"
117
 }
117
 }
118
 
118