Answers for "Remplace Placeholder with shell command"

0

Remplace Placeholder with shell command

$ cp state-machine.json test.json
$ sed -i "" 's/BUILD_ENV/dev/g' test.json && sed -i "" 's/AWS_ACCOUNT_ID/086302202120/g' test.json ## MAC OS
$ sed -i "s/BUILD_ENV/dev/g" test.json && sed -i "s/AWS_ACCOUNT_ID/086302202120/g" test.json
Posted by: Guest on October-04-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language