aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.bash_utils
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-10-09 23:21:34 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-10-09 23:21:34 +0300
commit9b636ceae523929a6eabc8343227970e215dbb91 (patch)
tree3395aece8321b0996e6e2e048a4ce61cd273f259 /%HOME%/.bash_utils
parent.gitconfig: add alias.wdiff (diff)
downloadlinux-home-9b636ceae523929a6eabc8343227970e215dbb91.tar.gz
linux-home-9b636ceae523929a6eabc8343227970e215dbb91.zip
replace_word: bugfix
Diffstat (limited to '%HOME%/.bash_utils')
-rw-r--r--%HOME%/.bash_utils/text.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/%HOME%/.bash_utils/text.sh b/%HOME%/.bash_utils/text.sh
index ad3f203..1ce36a6 100644
--- a/%HOME%/.bash_utils/text.sh
+++ b/%HOME%/.bash_utils/text.sh
@@ -36,7 +36,7 @@ replace_word() (
local old="$1"
shift
- local new="$2"
+ local new="$1"
shift
sed --binary --in-place "s/\\b$old\\b/$new/g" "$@"