1 min readSep 3, 2020
if you are on macos , these sed commands above will throw an error like this :
sed: 1: "build.yaml": undefined label 'uild.yaml'
to fix this you need to add one more empty string between "-i" flag and the replacement string, for example :
$ sed -i "" "s/GHUSER/${GHUSER}/g" build.yaml