diff options
-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" "$@" |