escape additional characters
This commit is contained in:
parent
ad1cfc5344
commit
7accc4c185
@ -8,6 +8,9 @@ declare -A replacements
|
|||||||
unset replacements[0]
|
unset replacements[0]
|
||||||
replacements[' ']='_';
|
replacements[' ']='_';
|
||||||
replacements[':']='_';
|
replacements[':']='_';
|
||||||
|
replacements["'"]='_';
|
||||||
|
replacements['(']='_';
|
||||||
|
replacements[')']='_';
|
||||||
while [[ $# > 0 ]]; do
|
while [[ $# > 0 ]]; do
|
||||||
replacements["$1"]="$2";
|
replacements["$1"]="$2";
|
||||||
shift 2;
|
shift 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user