[SCM] Lisaac scripts branch, master, updated. 9cfc44440d203c6b99d2224e1bc6a1cbf11a10bd
Mildred Ki'Lya
silkensedai at online.fr
Wed Mar 3 19:39:57 UTC 2010
The following commit has been merged in the master branch:
commit 9cfc44440d203c6b99d2224e1bc6a1cbf11a10bd
Author: Mildred Ki'Lya <silkensedai at online.fr>
Date: Wed Mar 3 20:39:23 2010 +0100
magic-script: fix grep command line
diff --git a/magic-script b/magic-script
index dca2e9c..8b54f25 100755
--- a/magic-script
+++ b/magic-script
@@ -204,11 +204,11 @@ dir=($op_dir)
find_opts=(-name $op_file)
if $op_grep; then
command_name=grep
- command_opts=(-n $op_grep_pattern)
+ command_opts=(-n -- $op_grep_pattern)
use_xargs=true
elif $op_egrep; then
command_name=egrep
- command_opts=(-n $op_grep_pattern)
+ command_opts=(-n -- $op_grep_pattern)
use_xargs=true
else
command_name=kate
--
Lisaac scripts
More information about the Lisaac-commits
mailing list