Bu Iseçeneği rgrepoluşturulan grep'e eklemek isterim ama uygun değişkeni bulamıyorum.
Denedim:
grep-commandgrep-find-command
Bu Iseçeneği rgrepoluşturulan grep'e eklemek isterim ama uygun değişkeni bulamıyorum.
Denedim:
grep-commandgrep-find-commandYanıtlar:
Kullanım grep-find-template:
The default command to run for M-x rgrep.
The following place holders should be present in the string:
<D> - base directory for find
<X> - find options to restrict or expand the directory list
<F> - find options to limit the files matched
<C> - place to put -i if case insensitive grep
<R> - the regular expression searched for.
In interactive usage, the actual value of this variable is set up
by `grep-compute-defaults'; to change the default value, use
Customize or call the function `grep-apply-setting'.
Bu değişkeni "find . <X> -type f <F> -exec grep <C> -nHI -e <R> {} +"veya uygun olduğunu düşündüğünüz şekilde ayarlayın.
Komutunu değiştirmek için lgrepbenzer şekilde kullanın grep-template:"grep <X> <C> -nHI -e <R> <F>"