projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fdca92
)
added multi-match.
author
Chris Koeritz
<fred@gruntose.com>
Sun, 27 Oct 2013 23:31:14 +0000
(19:31 -0400)
committer
Chris Koeritz
<fred@gruntose.com>
Sun, 27 Oct 2013 23:31:14 +0000
(19:31 -0400)
scripts/core/functions.sh
patch
|
blob
|
history
diff --git
a/scripts/core/functions.sh
b/scripts/core/functions.sh
index 6f447a74b79e4d07bfbba3cf677a2f182bf4d9de..f6a9beb37fb55dccc23253001d11b84026d221ab 100644
(file)
--- a/
scripts/core/functions.sh
+++ b/
scripts/core/functions.sh
@@
-339,7
+339,7
@@
if [ -z "$skip_all" ]; then
echo "text to replace that pattern with."
return 1
fi
- sed -i -e "s
/$pattern/$replacement/
" "$file"
+ sed -i -e "s
%$pattern%$replacement%g
" "$file"
}
function function_sentinel() { return 0; }