用双引号" 在shell脚本中包住$()调用 解决sed命令报错问题
问题 在 Free.vps.vc 访问GitHub资源出错 用GithubProxy代理 用sed修改脚本内容 的过程中,发生一件奇怪的事情。 curl -L https://github.com/crazypeace/v2ray_wss/raw/main/install.sh | sed -E $(curl -L https://github.com/crazypeace/gh-proxy/raw/master/sed-E-para1) 正常执行,但下面这个就报错 curl -L https://github.com/crazypeace/v2ray_wss/raw/main/install.sh | sed -E $(curl -L https://github.com/crazypeace/gh-proxy/raw/master/sed-E-para)