escape additional characters

This commit is contained in:
fabian 2023-05-27 18:11:37 +02:00
parent ad1cfc5344
commit 7accc4c185

View File

@ -8,6 +8,9 @@ declare -A replacements
unset replacements[0]
replacements[' ']='_';
replacements[':']='_';
replacements["'"]='_';
replacements['(']='_';
replacements[')']='_';
while [[ $# > 0 ]]; do
replacements["$1"]="$2";
shift 2;