mirror of
https://github.com/bol-van/zapret.git
synced 2025-12-06 11:36:46 +03:00
base.sh quote parameters in replace_char
This commit is contained in:
@@ -297,10 +297,10 @@ minsleep()
|
||||
|
||||
replace_char()
|
||||
{
|
||||
local a=$1
|
||||
local b=$2
|
||||
local a="$1"
|
||||
local b="$2"
|
||||
shift; shift
|
||||
echo "$@" | tr $a $b
|
||||
echo "$@" | tr "$a" "$b"
|
||||
}
|
||||
|
||||
replace_str()
|
||||
|
||||
Reference in New Issue
Block a user