Kaynağa Gözat

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 10 yıl önce
ebeveyn
işleme
615a4b38d2
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      src/shellfu/saturnin.sh

+ 1
- 1
src/shellfu/saturnin.sh Dosyayı Görüntüle

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