devvDevu
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
scripts/run/cursor_linux_id_modifier.sh
|
@ -221,7 +221,7 @@ generate_new_config() { |
|
|
|
|
|
|
|
|
# 增强的转义函数 |
|
|
# 增强的转义函数 |
|
|
escape_sed_replacement() { |
|
|
escape_sed_replacement() { |
|
|
echo "$1" | sed -e 's/[\/&]/\\&/g' |
|
|
|
|
|
|
|
|
echo "$1" | sed -e 's/[\/&|#@]/\\&/g' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# 对变量进行转义处理 |
|
|
# 对变量进行转义处理 |
|
|