我是bash脚本的新手,但我不理解为什么它不起作用
#!/bin/bash foo=foobarfoobar echo ${foo//bar/baz}
第3行的错误替换错误
linux bash
bash ×1
linux ×1