我试图\用\\bash 中的所有内容替换,我这样做,但 bash 陷入了永无休止的循环。我哪里出错了?
\
\\
myVar="${myVar//\//\\\\}"
bash replace backslash
backslash ×1
bash ×1
replace ×1