diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-09-21 19:17:37 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-09-21 19:17:37 +0300 |
commit | 4ac03e001578b173d6c939a38e945272e6fd2ca7 (patch) | |
tree | ac754ad042d061874430a7d07cc78e1399989069 /.bash_utils | |
parent | fix .gitignore (diff) | |
download | linux-home-4ac03e001578b173d6c939a38e945272e6fd2ca7.tar.gz linux-home-4ac03e001578b173d6c939a38e945272e6fd2ca7.zip |
code style
Diffstat (limited to '.bash_utils')
-rw-r--r-- | .bash_utils/text.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.bash_utils/text.sh b/.bash_utils/text.sh index cb34073..71ee38c 100644 --- a/.bash_utils/text.sh +++ b/.bash_utils/text.sh @@ -35,7 +35,9 @@ replace_word() ( fi local old="$1" + shift local new="$2" + shift - shift && shift && sed --binary --in-place "s/\\b$old\\b/$new/g" "$@" + sed --binary --in-place "s/\\b$old\\b/$new/g" "$@" ) |