diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-10-09 23:21:34 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-10-09 23:21:34 +0300 |
commit | 9b636ceae523929a6eabc8343227970e215dbb91 (patch) | |
tree | 3395aece8321b0996e6e2e048a4ce61cd273f259 /%HOME%/.bash_utils | |
parent | .gitconfig: add alias.wdiff (diff) | |
download | linux-home-9b636ceae523929a6eabc8343227970e215dbb91.tar.gz linux-home-9b636ceae523929a6eabc8343227970e215dbb91.zip |
replace_word: bugfix
Diffstat (limited to '')
-rw-r--r-- | %HOME%/.bash_utils/text.sh | 2 |
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" "$@" |