0

I am running the following command

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

returns

sed: -e: No such file or directory
JY2k
  • 2,819
  • 1
  • 28
  • 53
  • Possible duplicate of [sed in-place flag that works both on Mac (BSD) and Linux](https://stackoverflow.com/questions/5694228/sed-in-place-flag-that-works-both-on-mac-bsd-and-linux) – Sundeep Aug 23 '18 at 10:51

1 Answers1

1

Try with an argument after -i:

sed -i '' .....
Gilles Quenot
  • 154,891
  • 35
  • 213
  • 206