grep.kak: do not quote params
This commit is contained in:
parent
e4fd839dda
commit
350b578eb5
|
@ -1,6 +1,6 @@
|
|||
def -env-params grep %{ echo grep in progress, please wait...; %sh{
|
||||
output=$(mktemp -t kak-grep.XXXXXXXX)
|
||||
grep -PHn "$kak_param0" "$kak_param1" "$kak_param2" "$kak_param3" "$kak_param4" >& ${output}
|
||||
grep -PHn $kak_param0 $kak_param1 $kak_param2 $kak_param3 $kak_param4 >& ${output}
|
||||
echo "echo
|
||||
try %{ db *grep* } catch %{ }
|
||||
edit -scratch *grep*
|
||||
|
|
Loading…
Reference in New Issue
Block a user