我正在运行以下命令
sed -i \
-e "s/\[project\]/${GOOGLE_CLOUD_PROJECT}/" \
-e "s/\[model-name\]/${MODEL_NAME}/" \
-e "s/\[model-version\]/${MODEL_VERSION}/" \
${HOME}/cloudml-apigee-serving/apiproxy/targets/default.xml
返回
sed: -e: No such file or directory
答案 0 :(得分:1)
尝试在-i
之后输入一个参数:
sed -i '' .....